summaryrefslogtreecommitdiff
path: root/tests/specs/check/unstable_suggestion/main.out
blob: ba8b2800c5c56359c00c143866d1b8b51fdb1f23 (plain)
1
2
3
4
5
6
7
8
9
10
Check file:///[WILDLINE]main.ts
error: TS2551 [ERROR]: Property 'dlopen' does not exist on type 'typeof Deno'. Did you mean 'open'? 'Deno.dlopen' is an unstable API. Did you mean 'open'? If not, try changing the 'lib' compiler option to include 'deno.unstable' or add a triple-slash directive to the top of your entrypoint (main file): /// <reference lib="deno.unstable" />
Deno.dlopen("path/to/lib", {});
     ~~~~~~
    at file:///[WILDLINE]/main.ts:5:6

    'open' is declared here.
      export function open(
                      ~~~~
        at asset:///lib.deno.ns.d.ts:[WILDLINE]