Comments (3)
Fixed this by adding a unique member to every class in the form of:
__N: never;
where N
is a unique number to each class.
This should always appear at the bottom of the intellisense. Hopefully, in the future TypeScript will allow us to completely hide interface members from intellisense.
I'm open to suggestions on better ways to fix this.
from types.
This is an issue that we have actually been working on internally over the past few days before you brought this up. We're still looking for a solution that doesn't involve adding random members to these interfaces to differentiate them from Instance
from types.
from types.
Related Issues (20)
- MemoryStoreService Outdated HOT 1
- Documentation for generated Enum types
- Gsub replacement function parameter type should be variadic string HOT 1
- Incorrect type for InventoryPages.GetCurrentPage
- Explicit `ContentId` type HOT 1
- HttpService missing `HttpEnabled` type HOT 5
- `EditableImage.ReadPixels` returns `unknown`
- `EditableMesh` autogenerated types have a lot of `unknown`
- Also commit changes to files in `generated` (Automatically?) HOT 1
- EnumItem.IsA should exclude GetEnums
- Entirely missing types for TestService HOT 2
- Secret:AddPrefix / Secret:AddSuffix
- Vector3/CFrame/Vector2 math overloads fail to account for union types
- TextService.FilterStringAsync wrong undefined return type HOT 5
- Instance.Clone method definition does not account for Instance.Archivable behavior HOT 3
- UserInputService.GetMouseLocation()'s return type is Vector2 instead of Vector2 | undefined HOT 2
- BasePart:SubtractAsync (and potentially BasePart:UnionAsync) can return `nil` despite developer documentation HOT 3
- Fix CanvasGroup color HOT 4
- Font constructor's first argument is incorrect HOT 4
- It seems that intellij is not properly referencing the type. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from types.