-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript compilation error #105
Comments
i am having some build error reguarding typescript complitation Angular Version 7
|
I hope it is used for react js projects might not supported for angular |
no it was supporting before |
I am also facing the same issue with angular 6. Can please let me know anyone of you guys @Devkoja10 @nikhil-1337 @lukesneeringer @latheesh08 @artemgoncharuk How to overcome this situation. |
@madhukosuri I'm sorry for so late response, I was away from the computer.
|
Yes, @Devkoja10 Thanks for your time. It works for me. |
import { ApiAiClient } from "api-ai-javascript"; |
I using Angular 6 and after installing "api-ai-javascript": "^2.0.0-beta.14", I get the following errors when attempting ng serve or ng build:
Also I add api-ai-javascript index.ts to my tsconfig files include (tsconfig.app.json and tsconfig.spec.json ).
tsconfig.app.json
{"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/app",
"baseUrl": "./",
"module": "es2015",
"types": []
},
"include": [
"/*.spec.ts",
"/.d.ts",
"../node_modules/api-ai-javascript/index.ts",
"**/.ts"
],
"exclude": [
"test.ts",
"**/*.spec.ts",
]}
tsconfig.spec.json
{"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/spec",
"baseUrl": "./",
"module": "commonjs",
"types": [
"jasmine",
"node"
]
},
"files": [
"test.ts",
"polyfills.ts"
],
"include": [
"/*.spec.ts",
"/.d.ts",
"**/.ts",
"../node_modules/api-ai-javascript/index.ts"
]}
Really I don't know what's the problem.
The text was updated successfully, but these errors were encountered: