summaryrefslogtreecommitdiff
path: root/tests/specs/check/package_json_with_deno_json/main.ts
blob: 7768ff3fc4bcd825f0d3982be405198dac39426c (plain)
1
2
3
4
5
6
7
8
9
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();