智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/2b/2b2b39ac4acf1674af559cb6288...

20 lines
521 B

/**
* @file 小程序当前运行版本类型
*/
declare namespace my {
interface IGetRunSceneSuccessResult {
/**
* 小程序当前运行的版本,枚举类型:develop(开发版)、trial(体验版)、release(发布版)
*/
readonly envVersion: 'develop' | 'trial' | 'release';
}
interface IGetRunSceneOptions {
success(res: IGetRunSceneSuccessResult): void;
}
/**
* 获取当前小程序的运行版本
*/
function getRunScene(res: IGetRunSceneOptions): void;
}