File tree Expand file tree Collapse file tree
packages/codegen/e2e-test Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ test('generates .d.ts', async () => {
1313 'src/a.module.css' : dedent `
1414 @import './b.module.css';
1515 @import './external.css';
16- /* @import '@/c.module.css'; */ /* TODO: Fix this */
16+ @import '@/c.module.css';
1717 .a1 { color: red; }
1818 ` ,
1919 'src/b.module.css' : `.b1 { color: red; }` ,
@@ -22,7 +22,7 @@ test('generates .d.ts', async () => {
2222 import styles from './a.module.css';
2323 (styles.a1 satisfies string);
2424 (styles.b1 satisfies string);
25- // (styles.c1 satisfies string); // TODO: Fix this
25+ (styles.c1 satisfies string);
2626 // @ts-expect-error
2727 styles.a2;
2828 ` ,
@@ -47,6 +47,7 @@ test('generates .d.ts', async () => {
4747 declare const styles = {
4848 a1: '' as readonly string,
4949 ...(await import('./b.module.css')).default,
50+ ...(await import('@/c.module.css')).default,
5051 };
5152 export default styles;
5253 "
You can’t perform that action at this time.
0 commit comments