types {packer}R Documentation

Install Types

Description

Install TypeScript types from npm.

Usage

ts_get_types(..., versions = NULL)

ts_get_type(type, version = NULL)

Arguments

...

Types to install.

versions, version

Corresponding versions of types passed to ..., if NULL the latest version is installed.

type

Name of types ⁠@types/*⁠ to install.

Functions

Examples

## Not run: ts_get_type("jquery")
## Not run: ts_get_types("@types/jquery")


[Package packer version 0.1.3 Index]