Skip to content

Commit 44c1dbf

Browse files
authored
chore: update the dts for examples (#308)
1 parent 61cb7a5 commit 44c1dbf

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

examples/1-basic/generated/src/a.module.css.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
// @ts-nocheck
2+
function blockErrorType<T>(val: T): [0] extends [(1 & T)] ? {} : T;
23
declare const styles = {
34
a_1: '' as readonly string,
45
a_2: '' as readonly string,
56
a_2: '' as readonly string,
67
a_3: '' as readonly string,
78
a_4: '' as readonly string,
8-
...(await import('./b.module.css')).default,
9+
...blockErrorType((await import('./b.module.css')).default),
910
c_1: (await import('./c.module.css')).default.c_1,
1011
c_alias: (await import('./c.module.css')).default.c_2,
1112
};
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// @ts-nocheck
2+
function blockErrorType<T>(val: T): [0] extends [(1 & T)] ? {} : T;
23
declare const styles = {
3-
...(await import('@/src/b.module.css')).default,
4-
...(await import('#src/b.module.css')).default,
4+
...blockErrorType((await import('@/src/b.module.css')).default),
5+
...blockErrorType((await import('#src/b.module.css')).default),
56
};
67
export default styles;

0 commit comments

Comments
 (0)