We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// index.ts import * as lib from "./lib"; export function test(): void { lib.test(new lib.Wrapper<i32>()); } // lib.ts export function test<T = i32>(t: Wrapper<T>): void {} export class Wrapper<T> { v: T; }
It will receive this error
ERROR TS2304: Cannot find name 'Wrapper'. export function test<T = i32>(t: Wrapper<T>): void {} ~~~~~~~ in assembly/lib.ts(1,34)
The text was updated successfully, but these errors were encountered:
fix: use correct ctx infer generic types (AssemblyScript#2322)
c99045f
test: add testcase for AssemblyScript#2322
54f5259
Successfully merging a pull request may close this issue.
It will receive this error
The text was updated successfully, but these errors were encountered: