We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function proxyService<T extends string>(value: T): T { return value; } declare global { interface MessengerMethods { PROXY: typeof proxyService; } } registerMethods({ PROXY: proxyService, });
export const messengerProxyService = getMethod("PROXY");
The type of messengerProxyService won't have the generic:
messengerProxyService
function proxyService(value: unknown): unknown;
The text was updated successfully, but these errors were encountered:
proxyService
No branches or pull requests
Expected repro
The type of
messengerProxyService
won't have the generic:The text was updated successfully, but these errors were encountered: