typescript-api

WebJar for typescript-api

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

typescript-api
Последняя версия

Последняя версия

1.0.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

typescript-api
WebJar for typescript-api
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

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

Скачать typescript-api

Как подключить последнюю версию

<!-- 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"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : typescript jar [1.0,1.1)

Модули Проекта

Данный проект не имеет модулей.

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

Версии библиотеки

Версия
1.0.0