Skip to content

Commit 63127c6

Browse files
committed
chore: cleanup
1 parent 22ecb5a commit 63127c6

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Directive } from '@angular/core';
22

33
@Directive({
4-
selector: 'MLKitView',
4+
selector: 'MLKitView',
5+
standalone: false,
56
})
6-
export class MLKitViewDirective { }
7+
export class MLKitViewDirective {}

packages/mlkit-core/index.ios.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
boundingBoxSettingsProperty,
2828
DEFAULT_BOUNDING_BOX_SETTINGS,
2929
} from './common';
30-
import '@nativescript/core';
30+
import { Color, File, ImageSource, Utils } from '@nativescript/core';
3131
import lazy from '@nativescript/core/utils/lazy';
3232
import { DetectionEvent, StillImageDetectionOptions } from '.';
3333

@@ -171,6 +171,7 @@ export class MLKitView extends MLKitViewBase {
171171
}
172172
}
173173

174+
// @ts-ignore
174175
[cameraPositionProperty.setNative](value: CameraPosition) {
175176
switch (value) {
176177
case CameraPosition.FRONT:
@@ -303,6 +304,7 @@ export class MLKitView extends MLKitViewBase {
303304
this._mlkitHelper.selfieSegmentor = this._selfieSegmentor;
304305
}
305306

307+
// @ts-ignore
306308
[barcodeFormatsProperty.setNative](value: BarcodeFormats[]) {
307309
this._setupBarcodeScanner(value);
308310
}

packages/mlkit-custom-object-detection/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
"name": "Christoph John",
2626
"email": "[email protected]"
2727
},
28+
"contributors": [
29+
{
30+
"name": "NativeScript",
31+
"email": "[email protected]"
32+
}
33+
],
2834
"bugs": {
2935
"url": "https://github.com/NativeScript/mlkit/issues"
3036
},

0 commit comments

Comments
 (0)