mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
1dc4b6dc61
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
48 lines
1.7 KiB
Plaintext
48 lines
1.7 KiB
Plaintext
error TS5053: Option 'lib' cannot be specified with option 'noLib'.
|
|
error TS2318: Cannot find global type 'Array'.
|
|
error TS2318: Cannot find global type 'Boolean'.
|
|
error TS2318: Cannot find global type 'CallableFunction'.
|
|
error TS2318: Cannot find global type 'Function'.
|
|
error TS2318: Cannot find global type 'IArguments'.
|
|
error TS2318: Cannot find global type 'NewableFunction'.
|
|
error TS2318: Cannot find global type 'Number'.
|
|
error TS2318: Cannot find global type 'Object'.
|
|
error TS2318: Cannot find global type 'RegExp'.
|
|
error TS2318: Cannot find global type 'String'.
|
|
|
|
|
|
!!! error TS5053: Option 'lib' cannot be specified with option 'noLib'.
|
|
!!! error TS2318: Cannot find global type 'Array'.
|
|
!!! error TS2318: Cannot find global type 'Boolean'.
|
|
!!! error TS2318: Cannot find global type 'CallableFunction'.
|
|
!!! error TS2318: Cannot find global type 'Function'.
|
|
!!! error TS2318: Cannot find global type 'IArguments'.
|
|
!!! error TS2318: Cannot find global type 'NewableFunction'.
|
|
!!! error TS2318: Cannot find global type 'Number'.
|
|
!!! error TS2318: Cannot find global type 'Object'.
|
|
!!! error TS2318: Cannot find global type 'RegExp'.
|
|
!!! error TS2318: Cannot find global type 'String'.
|
|
==== arrayIterationLibES5TargetDifferent.ts (0 errors) ====
|
|
declare function log(message?: any): void;
|
|
|
|
for (const x of [1, 2, 3]) {
|
|
log(x);
|
|
}
|
|
|
|
declare const aString: string;
|
|
|
|
for (const x of aString) {
|
|
log(x);
|
|
}
|
|
|
|
declare const aNumber: number;
|
|
|
|
for (const x of aNumber) {
|
|
log(x);
|
|
}
|
|
|
|
declare const anObject: { foo: string };
|
|
|
|
for (const x of anObject) {
|
|
log(x);
|
|
} |