cch5ng / job_tracker

1 stars 0 forks source link

[FE] typescript #2

Closed cch5ng closed 3 years ago

cch5ng commented 3 years ago
cch5ng commented 3 years ago

resc

https://create-react-app.dev/docs/adding-typescript/

https://reactjs.org/docs/static-type-checking.html#typescript

https://www.typescriptlang.org/

https://github.com/typescript-cheatsheets/react#reacttypescript-cheatsheets

https://github.com/typescript-cheatsheets/react/blob/main/README.md#basic-cheatsheet-table-of-contents

cch5ng commented 3 years ago

https://github.com/facebook/create-react-app/issues/ 10110#issuecomment-731507948

upgraded react-scripts to 4.0.1

typescript 4.1.3

https://stackoverflow.com/questions/42640636/react-must-be-in-scope-when-using-jsx-react-react-in-jsx-scope

cch5ng commented 3 years ago

https://react-typescript-cheatsheet.netlify.app/docs/migration/intro

https://react-typescript-cheatsheet.netlify.app/docs/migration/intro#general-conversion-approaches

https://www.typescriptlang.org/docs/handbook/migrating-from-javascript.html#writing-a-configuration-file

https://stackoverflow.com/questions/45661027/typescript-outdir-setting-in-tsconfig-json-not-working


https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/basic_type_example

https://react-typescript-cheatsheet.netlify.app/docs/basic/getting-started/forms_and_events

https://www.pluralsight.com/guides/typescript-react-getting-started

cch5ng commented 3 years ago

err on Checkbox

Argument of type 'ChangeEvent<HTMLInputElement>' is not assignable to parameter of type '(event: ChangeEvent<HTMLInputElement>) => void'.
  Type 'ChangeEvent<HTMLInputElement>' provides no match for the signature '(event: ChangeEvent<HTMLInputElement>): void'
cch5ng commented 3 years ago

shared form