feat: export types for package @excalidraw/excalidraw 🎉 (#3337)
* feat: export types for package @excalidraw/excalidraw * update * remove * Add lib in tsconfig-types and Add global.d.ts, and errors down to 39 :) * Add declaration for scss so typescript allows scss imports, errors down to 37 :) * Add css.d.ts, errors down to 32 yay * set target to es6, all errors resolved yay * move types outside dist * update docs * fixpull/3368/head
parent
c739ac5c61
commit
a6706cff20
@ -0,0 +1,18 @@
|
||||
{
|
||||
"include": ["src/packages/excalidraw", "src/global.d.ts", "src/css.d.ts"],
|
||||
"compilerOptions": {
|
||||
"allowJs": true,
|
||||
"declaration": true,
|
||||
"emitDeclarationOnly": true,
|
||||
"outDir": "src/packages/excalidraw/types",
|
||||
"jsx": "react-jsx",
|
||||
"target": "es6",
|
||||
"lib": ["dom", "dom.iterable", "esnext"],
|
||||
"module": "esnext",
|
||||
"moduleResolution": "node",
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue