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
When I use this function the autocomplete shows all values for the second parameters
Typescript: 5.1.6
This might be a bug
https://www.typescriptlang.org/play?#code/C4TwDgpgBAcgrgWwEYQE4CUIEMAmAVcCAZygF4oByASwDtgAOCqAH0tuAEYA2J16ugMwAmXpQBmAGwD2WYMIoAoUJCgAhOGLFpMuApBLkKkmXJEtx02d1H9gEAOZpFEAB5gpqYFDFwaAY2AqKRooHRwAQSIACgA1LAk4CAAuKCJgVFp7ABooPWS1DS0MbHxCIhyAeTBA4KIAfhSAb1SAdywwAH0IGhwqLBoUpCkpCWwQgF8AShSaRBRUBVd3T29fAKCQsMjY+MSZubQcvJT4ZG0SvPKoKpqaeqbW9q6evoGoIZGxqCmUtIyaeyLNweLw+fy3UIlbZxBL5P6ZcyzM6oI6EE4HYq6MrmdSac5Y-SVaobe5QZpENqdbq9fqDYajfrfaapdII1hI+Zk8YKBRbaIABiyACJjFYuELJkA
type NumberReadTypes = 'int8' | 'int16' | 'int32' | 'float32' type BufferReadTypes = 'float32' | 'float16' | 'integer' export function ReadAs(Value: string, Type: BufferReadTypes, Options?: { swap_endian: boolean }): number export function ReadAs(Value: number, Type: NumberReadTypes, Options?: { swap_endian: boolean }): string export function ReadAs(Value: string | number, Type: NumberReadTypes | BufferReadTypes, Options?: { swap_endian: boolean }): string | number {} ReadAs(0,"float16")
When I use this function the autocomplete shows all values for the second parameters.
i just want see true overload
The text was updated successfully, but these errors were encountered:
Duplicate #26892
Sorry, something went wrong.
This issue has been marked as "Duplicate" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
No branches or pull requests
π Search Terms
When I use this function the autocomplete shows all values for the second parameters
π Version & Regression Information
Typescript: 5.1.6
This might be a bug
β― Playground Link
https://www.typescriptlang.org/play?#code/C4TwDgpgBAcgrgWwEYQE4CUIEMAmAVcCAZygF4oByASwDtgAOCqAH0tuAEYA2J16ugMwAmXpQBmAGwD2WYMIoAoUJCgAhOGLFpMuApBLkKkmXJEtx02d1H9gEAOZpFEAB5gpqYFDFwaAY2AqKRooHRwAQSIACgA1LAk4CAAuKCJgVFp7ABooPWS1DS0MbHxCIhyAeTBA4KIAfhSAb1SAdywwAH0IGhwqLBoUpCkpCWwQgF8AShSaRBRUBVd3T29fAKCQsMjY+MSZubQcvJT4ZG0SvPKoKpqaeqbW9q6evoGoIZGxqCmUtIyaeyLNweLw+fy3UIlbZxBL5P6ZcyzM6oI6EE4HYq6MrmdSac5Y-SVaobe5QZpENqdbq9fqDYajfrfaapdII1hI+Zk8YKBRbaIABiyACJjFYuELJkA
π» Code
π Actual behavior
When I use this function the autocomplete shows all values for the second parameters.
π Expected behavior
i just want see true overload
The text was updated successfully, but these errors were encountered: