mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
217 B
TypeScript
12 lines
217 B
TypeScript
//// [tests/cases/compiler/genericArrayAssignment1.ts] ////
|
|
|
|
//// [genericArrayAssignment1.ts]
|
|
declare var s: string[];
|
|
declare var n: number[];
|
|
|
|
s = n;
|
|
|
|
//// [genericArrayAssignment1.js]
|
|
"use strict";
|
|
s = n;
|