typescript-api

WebJar for typescript-api

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

typescript-api
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

typescript-api
WebJar for typescript-api
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jedmao/typescript-api

Download typescript-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/typescript-api/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>typescript-api</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/typescript-api/
implementation 'org.webjars.npm:typescript-api:1.0.0'
// https://jarcasting.com/artifacts/org.webjars.npm/typescript-api/
implementation ("org.webjars.npm:typescript-api:1.0.0")
'org.webjars.npm:typescript-api:jar:1.0.0'
<dependency org="org.webjars.npm" name="typescript-api" rev="1.0.0">
  <artifact name="typescript-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='typescript-api', version='1.0.0')
)
libraryDependencies += "org.webjars.npm" % "typescript-api" % "1.0.0"
[org.webjars.npm/typescript-api "1.0.0"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : typescript jar [1.0,1.1)

Project Modules

There are no modules declared in this project.

TypeScript API

TypeScript API exposed (includes definition file).

This version is compatable with TypeScript 1.0.

Dependency Status NPM version Views

NPM

TypeScript Usage

First, install dt-node as a bower dependency:

$ bower install --save-dev dt-node https://github.com/jedmao/dt-node.git

Then, you can reference the typescript-api.d.ts. You have to do it this way because the typescript-api has to use the same node.d.ts that your application is using. Otherwise, it will throw compiler errors.

/// <reference path="node_modules/typescript-api/typescript-api.d.ts" />
import ts = require('typescript-api');
var compiler = new ts.TypeScriptCompiler(new ts.NullLogger());

JavaScript Usage

var ts = require('typescript-api');
var compiler = new ts.TypeScriptCompiler(new ts.NullLogger());

License

Released under the MIT license.

Bitdeli Badge

Versions

Version
1.0.0