Migrate to TypeScript #10
Annotations
5 errors and 2 warnings
type-check (18.x):
pages/_app.tsx#L26
Binding element 'Component' implicitly has an 'any' type.
|
type-check (18.x):
pages/_app.tsx#L26
Binding element 'pageProps' implicitly has an 'any' type.
|
type-check (18.x):
pages/charity.tsx#L72
Type '(event: CharityEvent) => void' is not assignable to type '() => void'.
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
type-check (18.x):
scripts/article.ts#L5
Could not find a declaration file for module 'glob'. '/home/runner/work/website/website/node_modules/glob/glob.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/glob` if it exists or add a new declaration (.d.ts) file containing `declare module 'glob';`
|
type-check (18.x)
Found 4 errors!
|
type-check (18.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v1, gozala/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
type-check (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v1, gozala/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|