跳转到内容

@freenotes/web-runtime


@freenotes/web-runtime / createEnvironment

Function: createEnvironment()

createEnvironment(options?): Environment

Defined in: src/environment/create-environment.ts:20

创建不可变环境快照;只检查平台 API,不探测权限或保证操作成功。

Parameters

options?

EnvironmentOptions = {}

Returns

Environment

让基础能力保持简单,让业务开发更加专注。