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
autocomplete intellisense
4.3.5
https://www.typescriptlang.org/play?ts=4.3.5#code/JYWwDg9gTgLgBAbzgYQDbAKYDt4F84BmUEIcA5AAIDmUYAxgPQ30C0AVgM5kDcAULzACeYDHAAKxEMA7ACggDwAVAHxwAvHEVwAZLwS84cANoBpOMCxwAogA8YUAIZ0Y8gNYZBEApoA0cDvYWVKoOHHAABgAkCCa4EiTSGOEAugBcmqbJcBh22AAmYQAUBoZwUBgAjukWBBhQcABKlT4lhiAgGDAOeQ5d1Vi19QCynd29Di2lcBBgMMAQWP2DcADys-NYk6V0DqioAEZOrumFAPp1UOkOWIJ+5RxLdY0YHACU6qoAbhDAeVvvai+PzyrTgAH44Ep1M8OMpCuUqs8Kn52qMel0wekRl10RNpusFpjVgSsADVPEpBwMEplKD0lgMJ86nxcHxeHRUKEwgBlOqfYB0UT6NqdAAWEDyhXewtKqE6-j5AtEGgAjHBQuJJNJZAo0JgcMo+FM6AsAoh8BoqVB+YKjXBcLxcEA
import { Client } from '@grpc/grpc-js'; type Promisify<T> = T & { [K in Extract<keyof T, string> as `${K}Promise`]: T[K] extends ( req: infer Req, mmetadata: infer Metadata, option: infer Option, callback: (_err: any, res: infer Res) => void, ) => void ? <T = Res>(req: Req, mmetadata?: Metadata, option?: Option) => Promise<T> : never; }; class Service { method() { let service = 1 as Promisify<Client>; const { /** press ctrl+space */ } = service; } }
When I press CTRL+SPACE, not displayed correctly suggest.
When I press CTRL+SPACE, should display the method suggest. e.g:
The text was updated successfully, but these errors were encountered:
@gabritto this is actually a crash in the LS. Looks possibly similar to the txstate issue we were looking at yesterday?
Sorry, something went wrong.
gabritto
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
autocomplete intellisense
π Version & Regression Information
4.3.5
β― Playground Link
https://www.typescriptlang.org/play?ts=4.3.5#code/JYWwDg9gTgLgBAbzgYQDbAKYDt4F84BmUEIcA5AAIDmUYAxgPQ30C0AVgM5kDcAULzACeYDHAAKxEMA7ACggDwAVAHxwAvHEVwAZLwS84cANoBpOMCxwAogA8YUAIZ0Y8gNYZBEApoA0cDvYWVKoOHHAABgAkCCa4EiTSGOEAugBcmqbJcBh22AAmYQAUBoZwUBgAjukWBBhQcABKlT4lhiAgGDAOeQ5d1Vi19QCynd29Di2lcBBgMMAQWP2DcADys-NYk6V0DqioAEZOrumFAPp1UOkOWIJ+5RxLdY0YHACU6qoAbhDAeVvvai+PzyrTgAH44Ep1M8OMpCuUqs8Kn52qMel0wekRl10RNpusFpjVgSsADVPEpBwMEplKD0lgMJ86nxcHxeHRUKEwgBlOqfYB0UT6NqdAAWEDyhXewtKqE6-j5AtEGgAjHBQuJJNJZAo0JgcMo+FM6AsAoh8BoqVB+YKjXBcLxcEA
π» Code
π Actual behavior
When I press CTRL+SPACE, not displayed correctly suggest.
π Expected behavior
When I press CTRL+SPACE, should display the method suggest. e.g:
The text was updated successfully, but these errors were encountered: