update typescript

master
Vladimir Mandic 2021-11-17 16:50:12 -05:00
parent 799273cb94
commit 7b35db4dca
3 changed files with 3 additions and 3 deletions

@ -44,7 +44,7 @@ Production build is started by running `npm run build`
```js
2021-11-17 15:23:35 INFO: Application: { name: '@vladmandic/human', version: '2.5.2' }
2021-11-17 15:23:35 INFO: Environment: { profile: 'production', config: '.build.json', package: 'package.json', tsconfig: true, eslintrc: true, git: true }
2021-11-17 15:23:35 INFO: Toolchain: { build: '0.6.4', esbuild: '0.13.14', typescript: '4.4.4', typedoc: '0.22.9', eslint: '8.2.0' }
2021-11-17 15:23:35 INFO: Toolchain: { build: '0.6.4', esbuild: '0.13.14', typescript: '4.5.2', typedoc: '0.22.9', eslint: '8.2.0' }
2021-11-17 15:23:35 INFO: Build: { profile: 'production', steps: [ 'clean', 'compile', 'typings', 'typedoc', 'lint', 'changelog' ] }
2021-11-17 15:23:35 STATE: Clean: { locations: [ 'dist/*', 'types/lib/*', 'typedoc/*' ] }
2021-11-17 15:23:35 STATE: Compile: { name: 'tfjs/nodejs/cpu', format: 'cjs', platform: 'node', input: 'tfjs/tf-node.ts', output: 'dist/tfjs.esm.js', files: 1, inputBytes: 102, outputBytes: 1275 }

@ -305,7 +305,7 @@ 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)
`Human` library is written in `TypeScript` [4.5](https://www.typescriptlang.org/docs/handbook/intro.html)
Conforming to latest `JavaScript` [ECMAScript version 2021](https://262.ecma-international.org/) standard
Build target is `JavaScript` [EMCAScript version 2018](https://262.ecma-international.org/11.0/)

@ -24,7 +24,7 @@ export async function load(config: Config | any) { ... }
- returns `tf.GraphModel`
```js
export async function predict(image: Tensor, config: Config, idx, count) { ... }
export async function predict(image: Tensor, config: Config, idx: number, count: number) { ... }
```
- input image is already preprocessed and passed to predict method as tensor