vladmandic / face-api

FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS
https://vladmandic.github.io/face-api/demo/webcam.html
MIT License
824 stars 149 forks source link

Support for TSC verbatimModuleSyntax #191

Closed stephenjason89 closed 5 months ago

stephenjason89 commented 6 months ago

I am getting a lot of ts error because types need to be imported with import type { ConvParams, SeparableConvParams } from '../common/index'; instead of import { ConvParams, SeparableConvParams } from '../common/index';

241 errors

image

Thank you for maintaining this package

vladmandic commented 6 months ago

this is valid item, but to update entire repo to use strict verbatimModuleSyntax is non-trivial and I don't have time in the near-future.

however, if you want to submit PR, it would be welcome.