TS2551 [ERROR]: Property 'integer' does not exist on type 'Fields'. Did you mean 'INTEGER'?
See original GitHub issue// Works
name: DataTypes.string(25),
_age: { type: DataTypes.INTEGER, length: 2 },
// Throws error
age: DataTypes.integer(2),
Versions: denodb: v1.0.26 deno: 1.8.3
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
TypeScript: Property does not exist on type '{}' - Stack Overflow
In the ts file I'm getting an error as follows: Property 'fadeDiv' does not exist on type '{}'. I think I have the...
Read more >TypeScript errors and how to fix them
A list of common TypeScript errors and how to fix them.
Read more >property 'title' does not exist on type 'never'.ts(2339) - You.com
I have a dummy JSON file which is loaded as the Vue app is loaded: The JSON file looks like this: { " ......
Read more >How to fix 'Property does not exist on type Window in ...
If you've been asking 'How do I fix the "Property does not exist on type Window in TypeScript" error?' then this is the...
Read more >How to resolve the error ' Error:(54,6) TS2339:property 'name ...
Two ways Let's assume you have a variable named x of type object, so somewhere you ... TS2339:property 'name' does not exist on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eveningkid. Okay, on my way!
It looks like there is not a shortcut for
DataTypes.INTEGER
. In docs just exist string, enum, and decimal.@eveningkid should we add this shortcut?