Created
March 1, 2023 10:41
-
-
Save marekdedic/8c8929dfa5bb99d23eff5862c750cd96 to your computer and use it in GitHub Desktop.
DataTables-ts-error (DataTables/DataTablesSrc#232)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types="datatables.net"/> | |
(function ($): void { | |
$('.c').DataTable(); | |
})(jQuery); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dependencies": { | |
"@types/jquery": "^3.5.16", | |
"datatables.net": "^1.13.3", | |
"typescript": "^4.9.5" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"strict": true, | |
"target": "ES3", | |
}, | |
"files": ["index.ts"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment