diff --git a/index.d.ts b/index.d.ts index 5ae45c8fb..fc24b6aa5 100644 --- a/index.d.ts +++ b/index.d.ts @@ -132,7 +132,7 @@ export function contentsToString( * @param strict If we should throw an error when a property is not found. Default is * `true` * @param separator The string used to interpolate and separate parameters - * @returns he compiled template function + * @returns He compiled template function */ export function compile< P extends { [K in keyof P]: K extends 'children' ? Children : string } diff --git a/package.json b/package.json index 95699304d..a31cb5b77 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,9 @@ "types": "index.d.ts", "scripts": { "bench": "tsc -p tsconfig.benchmark.json && cp benchmark/package.json dist/benchmark/package.json && cd dist/benchmark && node index.js", - "test:exec": "c8 --reporter lcov --reporter text node --trace-warnings --enable-source-maps --test dist/test", "format": "prettier --write .", "test": "pnpm test:jsx && pnpm test:react-jsx", + "test:exec": "c8 --reporter lcov --reporter text node --trace-warnings --enable-source-maps --test dist/test", "test:jsx": "tsc -p tsconfig.json && pnpm test:exec dist/test", "test:only": "tsc; node --trace-warnings --test-only --test dist/test", "test:react-jsx": "tsc -p ./tsconfig.jsxruntime.json && pnpm test:exec dist/test"