Skip to content

Commit 16b3c75

Browse files
committed
Fix TS issue
1 parent 1bdf5bc commit 16b3c75

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/types/bref-layers.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declare module '@bref.sh/layers' {
2+
export function layerArn(region: string, phpVersion: string, platform: 'x86' | 'arm'): string;
3+
}

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
// Useful for debugging (stack traces)
1111
"sourceMap": true,
1212
"resolveJsonModule": true,
13-
"strictNullChecks": true
13+
"strictNullChecks": true,
14+
"types": ["node"]
1415
},
1516
"include": ["src"]
1617
}

0 commit comments

Comments
 (0)