tsconfig.json:"module": "commonjs"→ "module": "ESNext", #132
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
tsconfig.jsonの変更
"module": "commonjs" → "module": "ESNext",
公式ドキュメント
https://www.typescriptlang.org/docs/handbook/compiler-options.html
https://www.typescriptlang.org/ja/tsconfig
抜粋
![00](https://private-user-images.githubusercontent.com/83049657/310853096-8dc766e8-244f-4ce4-a8f7-3c55258d0650.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTcyMDMsIm5iZiI6MTczOTM1NjkwMywicGF0aCI6Ii84MzA0OTY1Ny8zMTA4NTMwOTYtOGRjNzY2ZTgtMjQ0Zi00Y2U0LWE4ZjctM2M1NTI1OGQwNjUwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDEwNDE0M1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2NmY4OTM4NzExNzU5NGE4OWJjNGI0M2Y5OTA2NjFlZTQxMjlkZTNiZTEzYzRmZjkw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