mirror of
https://github.com/denoland/deno.git
synced 2024-11-04 08:54:20 -05:00
10 lines
252 B
TypeScript
10 lines
252 B
TypeScript
|
import { NUMBER_VALUE } from "other";
|
||
|
import * as test from "@denotest/esm-basic";
|
||
|
|
||
|
test.setValue(2);
|
||
|
console.log(test.getValue());
|
||
|
|
||
|
// these should cause type errors
|
||
|
const _strValue1: string = NUMBER_VALUE;
|
||
|
const _strValue2: string = test.getValue();
|