typings

WebJar for typings

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

typings
Last Version

Last Version

1.3.3
Release Date

Release Date

Type

Type

jar
Description

Description

typings
WebJar for typings
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/typings/typings

Download typings

How to add to project

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

Dependencies

compile (12)

Group / Artifact Type Version
org.webjars.npm : xtend jar [4.0.1,5)
org.webjars.npm : has-unicode jar [2.0.1,3)
org.webjars.npm : minimist jar [1.2.0,2)
org.webjars.npm : update-notifier jar [1.0.0,2)
org.webjars.npm : listify jar [1.0.0,2)
org.webjars.npm : typings-core jar [1.4.0,2)
org.webjars.npm : any-promise jar [1.0.0,2)
org.webjars.npm : archy jar [1.0.0,2)
org.webjars.npm : wordwrap jar [1.0.0,2)
org.webjars.npm : chalk jar [1.0.0,2)
org.webjars.npm : columnify jar [1.5.2,2)
org.webjars.npm : bluebird jar [3.1.1,4)

Project Modules

There are no modules declared in this project.

Typings

NPM version NPM downloads Build status Gitter

The TypeScript Definition Manager.

Deprecation Notice: Regarding [email protected]

For users doing typings install dt~<package> --global and receiving errors.

Starting from TypeScript 2.0, users can install typings using npm install @types/<package>. These typings are coming from DefinitelyTyped. In the future, we hope redirects will be enabled to support existing maintainers to contribute effectively to NPM's @types as they did to typings/registry.

Typings on DefinitelyTyped have also moved to the external module format supported by TypeScript. This finally solved the real problem that Typings was trying to solve! It also means it will cause errors such as:

> typings install dt~angular --global 

typings ERR! message Attempted to compile "angular" as a global module,
but it looks like an external module. You'll need to remove the global option to continue.

To resolve this, we recommend moving to TypeScript 2.0's official aquisition method (npm install @types/angular). You can also drop the --global flag from typings, though some definitions on DefinitelyTyped may not work with the Typings approach because of new TypeScript features (namely UMD namespaces).

This project will remain operational for the foreseeable future, but is effectively deprecated. New projects should use @types from NPM.

Quick Start

# Install Typings CLI utility.
npm install typings --global

# Search for definitions.
typings search tape

# Find a definition by name.
typings search --name react

# If you use the package as a module:
# Install non-global typings (defaults to "npm" source, configurable through `defaultSource` in `.typingsrc`).
typings install debug --save

# If you use the package through `<script>`, it is part of the environment, or
# the module typings are not yet available, try searching and installing with `--global`:
typings install dt~mocha --global --save

# If you need a specific commit from github.
typings install d3=github:DefinitelyTyped/DefinitelyTyped/d3/d3.d.ts#1c05872e7811235f43780b8b596bfd26fe8e7760 --global --save

# Search and install by version.
typings info env~node --versions
typings install [email protected] --global --save

# Install typings from a particular source (use `<source>~<name>` or `--source <source>`).
typings install env~atom --global --save
typings install bluebird --source npm --save

# Use `typings/index.d.ts` (in `tsconfig.json` or as a `///` reference).
cat typings/index.d.ts

Usage

Typings is the simple way to manage and install TypeScript definitions. It uses typings.json, which can resolve to the Typings Registry, GitHub, NPM, Bower, HTTP and local files. Packages can use type definitions from various sources and different versions, knowing they will never conflict for users.

typings install debug --save

The public registry is maintained by the community, and is used to resolve official type definitions for JavaScript packages.

Read More

Sources

  • npm - dependencies from NPM
  • github - dependencies directly from GitHub (E.g. Duo, JSPM)
  • bitbucket - dependencies directly from Bitbucket
  • jspm: - dependencies from installed JSPM packages with typings distributed. Requires [email protected]+.
  • bower - dependencies from Bower
  • common - "standard" libraries without a known "source"
  • shared - shared library functionality
  • lib - shared environment functionality (mirror of shared) (--global)
  • env - environments (E.g. atom, electron) (--global)
  • global - global (window.<var>) libraries (--global)
  • dt - typings from DefinitelyTyped (usually --global)

Contributing

# Installation
# Fork this repo (https://github.com/typings/typings)
# Clone the fork (E.g. `https://github.com/<your_username>/typings.git`)
cd typings

# Install modules
npm install

# Build
npm run build

# Test
npm run test

Change Log

License

MIT

org.webjars.npm

Typings

*DEPRECATED* The TypeScript Definition Manager

Versions

Version
1.3.3
1.3.1
1.3.0
1.0.4
0.8.1
0.7.12
0.7.9
0.6.9
0.6.6