js2ts: processing

- select2 version dependency 문제로 import는 유지
This commit is contained in:
2021-08-21 04:40:40 +09:00
parent 1b0742ad2a
commit 5493f70458
3 changed files with 284 additions and 7 deletions
+2 -7
View File
@@ -1,11 +1,6 @@
import $ from 'jquery';
import { unwrap_any } from './util/unwrap_any';
declare global {
interface Window {
submitAction: () => void;
}
}
declare const leadership: number;
declare const fullLeadership: number;
@@ -38,7 +33,7 @@ $(function () {
$formAmount.val(parseFloat(unwrap_any<string>($this.val())) * 100);
if (e.which === 13) {
window.submitAction();
void window.submitAction();
}
return false;
});
@@ -91,7 +86,7 @@ $(function () {
$formCrewtype.val(crewtype);
$formAmount.val(parseFloat(unwrap_any<string>($input.val())) * 100);
window.submitAction();
void window.submitAction();
});
$('.btn_fill').click();