mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
240 B
TypeScript
9 lines
240 B
TypeScript
//// [tests/cases/compiler/dataViewConstructor.ts] ////
|
|
|
|
//// [dataViewConstructor.ts]
|
|
new DataView(new Uint8Array(32)); // should error
|
|
|
|
//// [dataViewConstructor.js]
|
|
"use strict";
|
|
new DataView(new Uint8Array(32)); // should error
|