mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-23 06:10:02 +08:00
6 lines
245 B
Plaintext
6 lines
245 B
Plaintext
function-limits.ts:2:18 - error SC1090: string methods as values (call 'slice' directly) are not supported yet
|
|
|
|
1 | const s: string = "abc";
|
|
2 | const sliceRef = s.slice;
|
|
| ^~~~~~~
|
|
3 | const fns: (() => number)[] = []; |