* Bump TS

* Adjust

* Additional TS 4.7.2 fixes
This commit is contained in:
Jaco
2022-05-30 11:13:41 +03:00
committed by GitHub
parent cdc8d68e8b
commit f76efa5f8a
5 changed files with 47 additions and 39 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import { ExactDerive } from '.';
const testFunction = (api: ApiRx): any => {
return <S extends keyof ExactDerive, M extends keyof (typeof api.derive[S])>(section: S, method: M, inputs: any[]): void => {
describe(`derive.${section}.${method}`, (): void => {
describe(`derive.${section}.${method as string}`, (): void => {
it('should be a function', (): void => {
expect(typeof api.derive[section][method]).toBe('function');
});