Comments (1)
Digging into index.ts I found this line:
export import jsonTypings = require("./typings-new-format/raml");
So the types I need are there, just under that jsonTypings
export, I've changed my code to this:
import { jsonTypings } from 'raml-1-parser';
const foo: jsonTypings.api10.Api10 = ...
Which works fine, closing this issue.
from raml-js-parser-2.
Related Issues (20)
- When raml-js-parser-2 is deprecated, what is the next step? HOT 1
- Cannot find module './ast.core/linter' HOT 2
- An in-range update of rimraf is breaking the build 🚨 HOT 3
- ERROR in ./node_modules/raml-1-parser/dist/parser/ast.core/expanderLL.js at compile. HOT 2
- An in-range update of @types/node is breaking the build 🚨 HOT 36
- An in-range update of z-schema is breaking the build 🚨 HOT 2
- An in-range update of @types/chai is breaking the build 🚨 HOT 6
- Problem when parsing !included traits HOT 1
- An in-range update of webpack is breaking the build 🚨 HOT 6
- An in-range update of marked is breaking the build 🚨 HOT 2
- An in-range update of underscore is breaking the build 🚨 HOT 3
- An in-range update of @types/marked is breaking the build 🚨 HOT 1
- An in-range update of ajv is breaking the build 🚨 HOT 2
- An in-range update of @types/invariant is breaking the build 🚨 HOT 1
- An in-range update of @types/underscore is breaking the build 🚨 HOT 1
- An in-range update of @types/node is breaking the build 🚨 HOT 1
- An in-range update of @types/invariant is breaking the build 🚨 HOT 1
- An in-range update of marked is breaking the build 🚨 HOT 1
- xmldom-alpha is no longer maintained HOT 1
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 raml-js-parser-2.