Fixing TS linter errors
This commit is contained in:
6
declarations.d.ts
vendored
6
declarations.d.ts
vendored
@@ -2,3 +2,9 @@ declare module "*.module.scss" {
|
||||
const classes: { [key: string]: string };
|
||||
export default classes;
|
||||
}
|
||||
|
||||
declare module "react-transition-group/CSSTransition" {
|
||||
import { ComponentType } from "react";
|
||||
const CSSTransition: ComponentType<any>;
|
||||
export default CSSTransition;
|
||||
}
|
||||
|
||||
2217
package-lock.json
generated
Normal file
2217
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,5 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { CSSTransition } from 'react-transition-group';
|
||||
import CSSTransition from 'react-transition-group/CSSTransition';
|
||||
import shared from '../../styles/Shared.module.scss';
|
||||
import styles from '../../styles/Archive.module.scss';
|
||||
import PerformersData2021 from '../../data/performers/2021';
|
||||
|
||||
@@ -13,5 +13,5 @@
|
||||
"jsx": "react-jsx",
|
||||
"strict": true
|
||||
},
|
||||
"include": ["src", "data", "types"]
|
||||
"include": ["src", "data", "types", "declarations.d.ts"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user