Skip to content

kawayiLinLin/typescript-lodash

Repository files navigation

写 TS 像写 JS 一样容易

OSCS Status NPM URL Typescript Limit NPM URL

Make writing TypeScript as easy as writing JavaScript

安装 Install

yarn add typescript-lodash # or:npm install --save typescript-lodash

使用 Usage

import { string } from "typescript-lodash"
// or use `import * as t from "typescript-lodash"` and then `t.string.Split<"">`
// or use `import { Split } from "typescript-lodash/lib/string"` and then `Split<"">`

type IString = "今天很高兴"

type TypeExample = string.Split<IString, "">

// 得到
type TypeResult = ["今", "天", "很", "高", "兴"]

查看文档 Documentation

中文文档 Chinese Documentation

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy