Open StefH opened 8 years ago
+1 on this
Basically cleaning up this comment should solve for now:
diff --git a/typings/globals/aws-sdk-typescript/index.d.ts b/typings/globals/aws-sdk-typescript/index.d.ts
index 1268a2d..ba63037 100644
--- a/typings/globals/aws-sdk-typescript/index.d.ts
+++ b/typings/globals/aws-sdk-typescript/index.d.ts
@@ -2552,8 +2552,7 @@ SUCCEED_WITHOUT_RESPONSE_HEADER . **/
description?: String;
/** The schema for the model. For application/json models, this should be
JSON-schema draft v4 [http://json-schema.org/documentation.html] model. Do not
-include "\*/" characters in the description of any properties because such "\*/"
-characters may be interpreted as the closing marker for comments in some
+include characters may be interpreted as the closing marker for comments in some
languages, such as Java or JavaScript, causing the installation of your API's
SDK generated by API Gateway to fail. **/
schema?: String;
bear in mind that you also need a promises implementation on your typings.json.
--> bear in mind that you also need a promises implementation on your typings.json.
I don't understand that, what you mean?
I've indeed that Promise error:
typings/globals/aws-sdk-typings/index.d.ts(114737,16): error TS2304: Cannot find name 'Promise'.
My typings.json :
{
"dependencies": {},
"ambientDependencies": {},
"globalDependencies": {
"node-4": "registry:dt/node-4#4.0.0+20160830122837",
"promise": "registry:dt/promise#7.1.1+20160602154553"
},
"globalDevDependencies": {
"aws-sdk-typings": "github:stefh/aws-sdk-typescript#HEAD"
}
}
My typings\index.d.ts file:
/// <reference path="globals/promise/index.d.ts" />
/// <reference path="globals/aws-sdk-typings/index.d.ts" />
/// <reference path="globals/node-4/index.d.ts" />
What else should I fix ?
OK. This will solve it:
{
"dependencies": {},
"ambientDependencies": {
},
"globalDependencies": {
"node-4": "registry:dt/node-4#4.0.0+20160830122837"
},
"globalDevDependencies": {
"es6-promise": "registry:dt/es6-promise#0.0.0+20160614011821",
"aws-sdk-typings": "github:stefh/aws-sdk-typescript#HEAD"
}
}
+1 to the issue
Any update?
Hi all, I'm using the typings as follows:
When compiling with tsc, I get this error:
This is because:
Can somebody please fix this ?