diff --git a/packages/misskey-js/tsconfig.json b/packages/misskey-js/tsconfig.json
index 2bd0acf342..d484a6b907 100644
--- a/packages/misskey-js/tsconfig.json
+++ b/packages/misskey-js/tsconfig.json
@@ -14,7 +14,13 @@
 		"strictNullChecks": true,
 		"experimentalDecorators": true,
 		"noImplicitReturns": true,
-		"esModuleInterop": true
+		"esModuleInterop": true,
+		"typeRoots": [
+			"node_modules/@types"
+		],
+		"lib": [
+			"esnext"
+		]
 	},
 	"include": [
 		"src/**/*"