Importing typescript modules #198
Annotations
3 errors and 1 warning
Run npm test:
files.test.ts#L86
Error: Snapshot `files in tests dir > expanding file lexical-declarations-1.ts 1` mismatched
- Expected
+ Received
@@ -1,8 +1,12 @@
## `lexical-declarations-1.ts`
- ### Status: `DONE`
+ ### Status: `DEBUG`
+
+ ```
+ todo type_reference
+ ```
### Input Program
```typescript
type t = 12;
@@ -14,14 +18,7 @@
```
### Output Program
```typescript
- export type t_1 = 12;
- export const y_2 = 13,
- z_3: t_1 = y_2,
- q_4: t_1,
- r_5;
- export const x_6 = (z_7) => {
- const t_8 = z_7;
- };
+ t;
```
❯ files.test.ts:86:7
|
Run npm test:
files.test.ts#L86
Error: Snapshot `files in tests dir > expanding file macro-generating-type-1.ts 1` mismatched
- Expected
+ Received
@@ -1,8 +1,12 @@
## `macro-generating-type-1.ts`
- ### Status: `DONE`
+ ### Status: `SyntaxError`
+
+ ```
+ invalid syntax (no pattern matched)
+ ```
### Input Program
```typescript
using_rewrite_rules(
@@ -15,8 +19,7 @@
```
### Output Program
```typescript
- export type a_1 = string;
- export type b_2 = a_1;
+ /*>>>*/ deftype(/*<<<*/ a as string);
```
❯ files.test.ts:86:7
|
Run npm test
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading