Cleanup tsconfig (#954)

* Cleanup tsconfig

* Removed dummy module
This commit is contained in:
Oscar Hinton 2021-05-05 09:46:14 +02:00 committed by GitHub
parent b1635debcc
commit 4a61f0ac04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 38 deletions

6
package-lock.json generated
View File

@ -573,6 +573,12 @@
"integrity": "sha512-/+CRPXpBDpo2RK9C68N3b2cOvO0Cf5B9aPijHsoDQTHivnGSObdOF2BRQOYjojWTDy6nQvMjmqRXIxH55VjxxA==",
"dev": true
},
"@types/duo_web_sdk": {
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/@types/duo_web_sdk/-/duo_web_sdk-2.7.0.tgz",
"integrity": "sha512-E8cRtor4+hYNVYZ/hk+0WoZtiGOWvxhX3UsJtNtVlDIk2d8dnbYX6wdhqBTwixPpw7ea3I8IS3BAK81GRXyLUQ==",
"dev": true
},
"@types/glob": {
"version": "7.1.3",
"resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.3.tgz",

View File

@ -34,6 +34,7 @@
"devDependencies": {
"@angular/compiler-cli": "^11.2.11",
"@ngtools/webpack": "^11.2.10",
"@types/duo_web_sdk": "^2.7.0",
"@types/jquery": "^3.5.5",
"@types/lunr": "^2.3.3",
"@types/node": "^10.17.57",

View File

@ -1,5 +1,5 @@
import * as jq from 'jquery';
import Swal from 'sweetalert2/dist/sweetalert2.js';
import Swal from 'sweetalert2';
import {
BodyOutputType,

View File

@ -1,12 +0,0 @@
import { NgModule } from '@angular/core';
import { ModalComponent } from 'jslib/angular/components/modal.component';
@NgModule({
imports: [],
declarations: [
ModalComponent,
],
})
export class DummyModule {
}

View File

@ -10,7 +10,7 @@ import { I18nService } from 'jslib/abstractions/i18n.service';
import { ImportOption, ImportService } from 'jslib/abstractions/import.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import Swal, { SweetAlertIcon } from 'sweetalert2/dist/sweetalert2.js';
import Swal, { SweetAlertIcon } from 'sweetalert2';
@Component({
selector: 'app-import',

View File

@ -1,4 +1,4 @@
import Swal, { SweetAlertIcon } from 'sweetalert2/dist/sweetalert2.js';
import Swal, { SweetAlertIcon } from 'sweetalert2';
import { DeviceType } from 'jslib/enums/deviceType';

View File

@ -11,9 +11,7 @@
"es6",
"dom"
],
"allowJs": true,
"sourceMap": true,
"types": ["sweetalert2"],
"baseUrl": ".",
"paths": {
"tldjs": [
@ -21,32 +19,13 @@
],
"jslib/*": [
"jslib/src/*"
],
"@angular/*": [
"node_modules/@angular/*"
],
"node": [
"node_modules/@types/node"
],
"duo_web_sdk": [
"node_modules/duo_web_sdk"
]
}
},
"angularCompilerOptions": {
"preserveWhitespaces": true
},
"exclude": [
"node_modules",
"dist",
"build",
"jslib/node_modules",
"jslib/dist",
"jslib/spec",
"jslib/src/electron",
"jslib/src/cli",
"jslib/src/services/nodeApi.service.ts",
"jslib/src/services/lowdbStorage.service.ts",
"jslib/src/misc/nodeUtils.ts"
"include": [
"src"
]
}