tsd Questions
9
Solved
I am working with the excellent Express/Node/Typescript example code found here. It transpiles the .ts code with the following command from run.sh:
./node_modules/.bin/tsc --sourcemap --module comm...
Pachston asked 16/12, 2015 at 12:36
2
Solved
I am using react-router v.2.0.0.-rc3 and typescript. I installed the definition file via tsd. Since they changed the browserHistory from beeing a mixin to a module, I get the error Module '"react-r...
Monroe asked 8/1, 2016 at 9:44
2
Solved
I am following the Angular 2 quick start guide and I'm stuck right at the beginning of it.
My company is filtering our network connections and modifying SSL negociation. In a man in the middle sty...
1
Solved
I'm trying to stop using TSD for obtaining type definitions in a project that uses many libaries via global variables (the outFile option is used in tsconfig.json if this matters). In particular, i...
Excruciating asked 26/12, 2016 at 21:12
1
Currently my process for building is:
Write lots of typescript files with ES6 module syntax
Generate an index.ts which re-exports all modules from one point
Compile to CommonJS + System
Output De...
Prime asked 14/1, 2016 at 9:44
3
Solved
I have an Angular application generated using Yeoman gulp typescript generator.
Suddenly without any apparent reason (change in project) during build typescript started throwing errors:
.tmp/typ...
Amoy asked 5/10, 2015 at 20:40
5
I am trying to use expressjs in my app.
After installing it using typings install express --ambient --save, I run tsc, but I get two errors:
typings/main/ambient/express/index.d.ts(17,34): erro...
Toxophilite asked 16/3, 2016 at 14:4
1
Using the tsd command I ran this command
tsd install node
It install the definitions file in the typings/node/node.d.ts but I can see that this definition file is for node.js version 4
Node.js v4...
Pericarp asked 6/5, 2016 at 18:29
0
Both DefinitelyTyped and typings allow us to use existing JS libraries along with their TypeScript bindings (definitions, .d.ts) provided by the community. My question is - does any of these platfo...
Stotts asked 2/9, 2016 at 17:19
3
Solved
I am wondering what is the recommended practice by Angular Team? I couldn't find it anywhere in the docs, and I am wondering what are the differences between the two. Any insights are more than wel...
Coconut asked 31/3, 2016 at 7:43
4
Solved
So far we are used to tsd or (The better version of it) typings
But now that TypeScript 2 offers the new @types feature, how should I convert my current project to work with @types?
I have tsd.js...
Chemosmosis asked 18/7, 2016 at 19:10
1
Solved
When it comes to use Typescript, we need to consider how to resolve type definition files (*.d.ts).
As long as I know, there are several systems for managing typescript definition system as below...
Aerification asked 14/8, 2016 at 13:53
3
Solved
I used tsd which is now deprecated and am trying to use typings. The typings repository is very small, and I can't find any of the d.ts files I need. All the files I need are in GitHub DefinitelyTy...
Unprovided asked 4/2, 2016 at 20:7
1
Webstorm runs ok when I open ts files, but once I compile, the whole program becomes super slow.
I don't run watch, just simply run tsc. I also check off "enable typescript compiler" option and "...
Cortisone asked 16/2, 2016 at 6:24
5
Solved
I'm using a library with Typescript, and getting a compiler error.
public/components/chatlogs.ts(25,19): error TS2304: Cannot find name 'Handsontable'.
it seems there is a typings for it:
$ t...
Jaeger asked 13/4, 2016 at 0:31
1
Solved
I found some definition were necessary for me. I tried to remove but I couldn't find the specify command. It's not like npm it has uninstall command can directly uninstall them, so I just remove th...
Sigurd asked 27/4, 2016 at 14:8
2
Solved
I'm trying to install TypeScript definition files from DefinitelyTyped within a ASP.NET v5 web project in Visual Studio 2015 RC? NuGet packages don't seem to work anymore and TSD hasn't been update...
Butterfly asked 1/5, 2015 at 20:14
2
Solved
I was looking over the TypeScript handbook and I can't seem to find the answer.
If I am using a library that no typings exist, what are my options?
One is to create the typings file, but this I d...
Inspiratory asked 25/4, 2016 at 7:13
1
Solved
I'm currently migrating from tsd to typings since it's deprecated.
but It's not crystal clear when I need to use --ambient or not when looking for a definition.
Also: is it correct to say that th...
Minda asked 4/4, 2016 at 8:38
1
In typings the new tsd manager for typescript definitions after reading the doc's I am confused on what the different sources mean and how to install by specifying the source and version
Example i...
Meiny asked 2/4, 2016 at 20:35
1
Solved
Official tsd annouced that tsd is deprecated and recommend using typings instead. Why is TSD deprecated? What is the difference between tsd and typings. What is the advantage of typings?
Turbid asked 24/2, 2016 at 10:1
1
I'm building an angular2/typescript app. I see that google put out platform.js which gives access to the gapi var as shown here on the google signin for websites. That works great, but I am having ...
Evanne asked 20/2, 2016 at 17:2
3
Solved
I have a local node package written in TypeScript, which I want to use in my actual project. Using npm, I can install local packages like this:
$ npm install --save /path/to/package
Or:
$ npm i...
Felix asked 2/1, 2016 at 19:10
1
Solved
I want to create an interface where a property can be either a string or a Function that has to return a string. I currently have the following:
interface IExample {
prop: string|Function;
}
Bu...
Arly asked 29/10, 2015 at 8:0
2
Solved
I'm trying to use a session helper called connect-session-knex which is obscure enough that it does not have a published typescript definition. So when I try to compile my typescript node project, ...
Foxtail asked 24/8, 2015 at 0:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.