Comments (5)
Yeah, on an empty project it works fine here too. I'll take a look again and if I find anything I'll raise a new one. I guess we can close this one for now. Thanks for taking the time!
from decoders.
I cannot replicate this behavior. I ran the following steps:
- Create a new, empty, directory
yarn add typescript decoders
yarn run tsc --init
- Create a
test.ts
file with the following content - Run
yarn run tsc
This doesn't give any type errors for me.
from decoders.
Is there any additional information you can share?
from decoders.
Let me try.
from decoders.
It's the strict
option.
from decoders.
Related Issues (20)
- Missing field in `inexact` doc HOT 1
- Some way to influence/adjust error messages to redact certain fields in objects? HOT 3
- Question: Type intersection composition HOT 2
- Decoder for object with specified key HOT 3
- Required types HOT 6
- Dispatch does not work when the field differentiating which decoder to use has a non-string value HOT 1
- Decoder with constants is throwing an exception. TypeError: (0 , _Result.Ok) is not a function HOT 5
- Typescript error with required properties HOT 9
- [Bug] Builtin composite decoders cannot take decoders with non-`unknown` input types HOT 8
- WeakGuard in 2.x HOT 3
- Migration help needed: .map to .transform HOT 3
- Export Annotation and Formatting function from package HOT 1
- Composing `lazy` and `either` can become slow. HOT 3
- Package requires nodejs 10 or newer, but this is not documented. HOT 2
- Decoding nested serialized JSON HOT 1
- Unwrap Error Message from Guard HOT 2
- Type is not inferred correctly from a dynamically created decoder with generics HOT 4
- Union type is not inferred correctly from either decoder HOT 1
- Ability to filter out incorrect items during array decoding HOT 6
- URL decoder does not accept URLs with / in the query part 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 decoders.