-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static type checking (js + jsdoc) #57
Labels
Comments
art-in
pushed a commit
that referenced
this issue
Nov 28, 2017
art-in
pushed a commit
that referenced
this issue
Nov 29, 2017
art-in
pushed a commit
that referenced
this issue
Nov 30, 2017
art-in
pushed a commit
that referenced
this issue
Dec 1, 2017
art-in
pushed a commit
that referenced
this issue
Dec 1, 2017
add type checking as another static test (along with linting) remove webpack plugin for watched type checking, since console errors do not help much when code editor can show errors right in the code (vscode)
art-in
pushed a commit
that referenced
this issue
Dec 1, 2017
art-in
pushed a commit
that referenced
this issue
Dec 1, 2017
art-in
pushed a commit
that referenced
this issue
Dec 2, 2017
art-in
pushed a commit
that referenced
this issue
Dec 3, 2017
added gotchas/typescript.md to track history of summary:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From v2.3 (27.04.17)
typescript
now supports type checking.js
files.And it already can gather type definitions from
jsdoc
annotations.https://github.com/Microsoft/TypeScript/wiki/Type-Checking-JavaScript-Files
https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-in-JavaScript
replace runtime type/param checks with static checks:
src/
test/
typeof
/instanceof
param checksrequired-params
(forked to check types of dispatched actions #65)PropTypes
(with@typedef Props
) (forked to check types of own-props in 'connect' #66)guard-object-props
--watch
mode (gulpbuild:watch
,test:watch
)build
,test
)test:static:types
)@ts-ignore
/@ts-nocheck
gotchas.static-typing.md
The text was updated successfully, but these errors were encountered: