A helper function for the io-ts package that validates a runtime object matches an io-ts runtimeValidator.
To get started, clone the repo and run npm i
.
This is small enough that I didn't write any tests.
A helper function for the io-ts package that validates a runtime object matches an io-ts runtimeValidator. Unusable until we fix issue #2
There is something very off with the types.
I have the index.ts file copied locally in the ctm_connector repo and this works:
but when I clone this repo, npm i, npm run compile, and then follow the testing steps to import the local files in the CTM _connector repo, I get this:
Which looks right, until I try to use validateTypes or Vt:
Somehow, when it's used (but not imported), the local file is working with the type system, but the imported package is not.
?
We get the following warning when trying to use this package
Could not find a declaration file for module '@roi-revolution/io-ts-validate-types'. '...node_modules/@roi-revolution/io-ts-validate-types/dist/index.js' implicitly has an 'any' type.
Try npm install @types/roi-revolution__io-ts-validate-types
if it exists or add a new declaration (.d.ts) file containing `declare module '@roi-revolution/io-ts-validate-types'
There is probably something wrong with the tsconfig
or package.json
that doesn't let typescript know to generate the declaration file.
package.json
says UNLICENSED
. It'd be great to be able to use this with a license like ISC!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.