Skip to content

Commit 53a240c

Browse files
fix: types
1 parent 9386984 commit 53a240c

File tree

5 files changed

+15
-58
lines changed

5 files changed

+15
-58
lines changed

.docs/scripts/autogen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import fg from 'fast-glob'
77
import MarkdownIt from 'markdown-it'
88
import { babelParse, parse as sfcParse } from 'vue/compiler-sfc'
99
import { createChecker } from 'vue-component-meta'
10-
import { components } from '../../packages/core/constant/components'
10+
import { components } from '../../packages/core/src/constant/components'
1111
import { transformJSDocLinks } from './utils'
1212

1313
// @ts-expect-error ignore

packages/core/index.ts

Lines changed: 0 additions & 28 deletions
This file was deleted.

packages/core/constant/components.ts renamed to packages/core/src/constant/components.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,5 @@ export const components = {
258258

259259
// export const utilities = {
260260
// utilities: [
261-
// 'useEmitAsProps',
262-
// 'useForwardProps',
263-
// 'useForwardPropsEmits',
264-
// 'useForwardExpose',
265-
// 'useId',
266-
// 'useStateMachine',
267-
// 'useBodyScrollLock',
268-
// 'useDateFormatter',
269-
// 'withDefault',
270-
// 'createContext',
271261
// ],
272262
// }

packages/core/src/constant/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './components'

packages/core/tsconfig.app.json

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
{
2+
"extends": "@oku/tsconfig/tsconfig.vue.json",
23
"compilerOptions": {
4+
/* Проекты */
5+
"incremental": true,
36
"composite": true,
4-
"target": "ES2020",
5-
"jsx": "preserve",
6-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
7-
"useDefineForClassFields": true,
8-
"module": "ESNext",
97

10-
"moduleResolution": "bundler",
8+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
119

1210
"paths": {
13-
"@/*": ["./src/*"]
14-
},
15-
"resolveJsonModule": true,
16-
"allowImportingTsExtensions": true,
17-
"strict": true,
18-
"noFallthroughCasesInSwitch": true,
19-
"noUnusedLocals": true,
20-
"noUnusedParameters": true,
21-
"noEmit": true,
22-
"isolatedModules": true,
23-
"skipLibCheck": true
11+
"@oku-ui/*": ["./src/*"]
12+
}
2413
},
25-
"include": ["env.d.ts", "src/**/*", "src/**/*.vue", "src/**/*.ts", "src/**/*.tsx"],
14+
"include": [
15+
"env.d.ts",
16+
"src/**/*",
17+
"src/**/*.vue",
18+
"constant/**/*"
19+
20+
],
2621
"exclude": [
2722
"src/**/__tests__/*",
2823
"src/**/stories/*"
2924
]
30-
3125
}

0 commit comments

Comments
 (0)