Skip to content

Commit 5ff729f

Browse files
committed
chore: Improving comment details.
1 parent 070c06f commit 5ff729f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bluetooth.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ function initLeScanCallback() {
486486
}
487487

488488
/**
489-
* Do not mark this one as a NativeScript class.
489+
* Do not mark this one as a native class. Not doing so will allow this class to be compiled into a JavaScript pure class.
490490
* For a strange reason, LeScanCallback will throw errors if it's compiled into a function.
491491
* That is why we want it to remain a class after compile procedure.
492492
* Also, class will work properly if implementor is given as an argument to super class since method 'onLeScan' is originally abstract.

0 commit comments

Comments
 (0)