Skip to content
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

Use TypeScript #2

Closed
wants to merge 2 commits into from
Closed

Use TypeScript #2

wants to merge 2 commits into from

Conversation

kjirou
Copy link
Owner

@kjirou kjirou commented Apr 14, 2019

Installing typescript and overwriting package.json/package-lock.json were occured automatically by parcel.
@kjirou kjirou self-assigned this Apr 14, 2019
@kjirou
Copy link
Owner Author

kjirou commented Apr 14, 2019

TODO: 型エラーになるように書いてもビルドが落ちない

これを書いても落ちない。

let a: number = 1;
a = 'abc';

let x: NotDefined = 2;

一方で tsconfig.json を JSON 構文エラーにすると落ちるので、読み込まれてはいるみたい。

@kjirou
Copy link
Owner Author

kjirou commented Apr 14, 2019

結論として、Parcel x TypeScript は辛そうなので Webpack ベースに戻す。

まとめ = https://kjirou.github.io/blog/articles/20190414-0001.html

@kjirou kjirou closed this Apr 14, 2019
@kjirou kjirou deleted the use-typescript branch April 14, 2019 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant