Skip to main content

TypeScript Support

This document will introduce how to develop MiniProgram with TypeScript.

Install devDependencies#

# optional# npm config set @binance:registry https://npm.binance.com$ npm install @binance/mp-service @binance/mp-components --dev
import mpService from '@binance/mp-service'import { View, Text, Button } from '@binance/mp-components'