types | R Documentation |
Install TypeScript types from npm.
ts_get_types(..., versions = NULL) ts_get_type(type, version = NULL)
... |
Types to install. |
versions, version |
Corresponding versions of types passed
to |
type |
Name of types |
ts_get_types
: Flexible to retrieve multiple types.
ts_get_type
: Convenience to easily retrieve a single type.
## Not run: ts_get_type("jquery") ## Not run: ts_get_types("@types/jquery")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.