11486 sujets

JavaScript, DOM et API Web HTML5

Erreur TS2430 (TS) L'interface 'ArrayLikeMatchers<T>' étend de manière incorrecte l'interface 'Matchers<ArrayLike<T>>'.
Les types de la propriété 'toBe' sont incompatibles.
Impossible d'assigner le type '(expected: any, expectationFailOutput?: any) => Promise<void>' au type '{ (expected: any, expectationFailOutput?: any): boolean; (expected: any, expectationFailOutput?: ...'.
Impossible d'assigner le type 'Promise<void>' au type 'boolean'. yyyyy (Projet tsconfig)
node_modules\@types\jasminewd2\index.d.ts 42 Actif