Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@douyin-microapp/typings

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@douyin-microapp/typings

Type definitions for APIs of Douyin Mini Program in TypeScript

latest
npmnpm
Version
1.3.1
Version published
Weekly downloads
943
-19.81%
Maintainers
4
Weekly downloads
 
Created
Source

字节小程序类型定义文件

字节跳动小程序 API 的 TypeScript 类型定义文件。

安装

npm install @douyin-microapp/typings

使用

安装后手动进行导入。

  • import '@douyin-microapp/typings';

也可以直接在项目的 tsconfig.json 配置文件中指定。

  • types: ["@douyin-microapp/typings"]

或者通过 三斜杠指令 引用。

  • /// <reference path="node_modules/@douyin-microapp/typings/index.d.ts" />

FAQs

Package last updated on 20 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts