mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
968f441da3
Ref https://github.com/denoland/deno/issues/25241 Rewritten these tests: - check::package_json_basic - check::package_json_fail_check - check::package_json_with_deno_json - info::package_json_basic - test::package_json_basic - run::package_json_auto_discovered_for_npm_binary - run::package_json_with_deno_json
9 lines
252 B
TypeScript
9 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();
|