mirror of https://github.com/vladmandic/human
patch tfjs type defs
parent
20ee0f5f3f
commit
f773ef3dbe
|
@ -9,8 +9,9 @@
|
|||
|
||||
## Changelog
|
||||
|
||||
### **HEAD -> main** 2021/10/29 mandic00@live.com
|
||||
### **HEAD -> main** 2021/10/30 mandic00@live.com
|
||||
|
||||
- build and docs cleanup
|
||||
- fix firefox bug
|
||||
|
||||
### **2.4.3** 2021/10/28 mandic00@live.com
|
||||
|
|
|
@ -310,8 +310,8 @@ For more info, see [**Configuration Details**](https://github.com/vladmandic/hum
|
|||
<br><hr><br>
|
||||
|
||||
`Human` library is written in `TypeScript` [4.4](https://www.typescriptlang.org/docs/handbook/intro.html)
|
||||
Conforming to `JavaScript` [ECMAScript version 2020](https://www.ecma-international.org/ecma-262/11.0/index.html) standard
|
||||
Build target is `JavaScript` [EMCAScript version 2018](https://262.ecma-international.org/9.0/)
|
||||
Conforming to latest `JavaScript` [ECMAScript version 2021](https://262.ecma-international.org/) standard
|
||||
Build target is `JavaScript` [EMCAScript version 2020](https://262.ecma-international.org/11.0/)
|
||||
|
||||
<br>
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"scripts": {
|
||||
"start": "node --no-warnings demo/nodejs/node.js",
|
||||
"dev": "build --profile development",
|
||||
"build": "rimraf test/build.log && build --profile production",
|
||||
"build": "rimraf test/build.log && build --profile production && cp src/tfjs/tfjs.esm.d.ts types/dist/",
|
||||
"test": "node --no-warnings --unhandled-rejections=strict --trace-uncaught test/node.js",
|
||||
"lint": "eslint src demo test",
|
||||
"scan": "npx auditjs@latest ossi --dev --quiet"
|
||||
|
@ -73,7 +73,7 @@
|
|||
"@vladmandic/pilogger": "^0.3.3",
|
||||
"canvas": "^2.8.0",
|
||||
"dayjs": "^1.10.7",
|
||||
"esbuild": "^0.13.11",
|
||||
"esbuild": "^0.13.12",
|
||||
"eslint": "8.1.0",
|
||||
"eslint-config-airbnb-base": "^14.2.1",
|
||||
"eslint-plugin-html": "^6.2.0",
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/// <reference types="offscreencanvas" />
|
||||
|
||||
export declare const version: {
|
||||
'tfjs-core': string;
|
||||
'tfjs-backend-cpu': string;
|
||||
'tfjs-backend-webgl': string;
|
||||
'tfjs-data': string;
|
||||
'tfjs-layers': string;
|
||||
'tfjs-converter': string;
|
||||
tfjs: string;
|
||||
};
|
||||
export * from '@tensorflow/tfjs-core';
|
||||
export * from '@tensorflow/tfjs-converter';
|
||||
export * from '@tensorflow/tfjs-data';
|
||||
// export * from "@tensorflow/tfjs-layers";
|
||||
// export * from "@tensorflow/tfjs-backend-cpu";
|
||||
// export * from "@tensorflow/tfjs-backend-wasm";
|
||||
// export * from "@tensorflow/tfjs-backend-webgl";
|
||||
export {};
|
Loading…
Reference in New Issue