Skip to content

chore(script): make tsc happy #1742

chore(script): make tsc happy

chore(script): make tsc happy #1742

Triggered via push September 27, 2024 18:44
Status Failure
Total duration 37s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
test: test/epoch-time.test.ts#L1
'InstalledClock' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
test: test/is-expired.test.ts#L1
'InstalledClock' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled.
test: test/organization.test.ts#L11
Type '{ siret: string; cached_tranche_effectifs: "00"; cached_tranche_effectifs_unite_legale: string; cached_libelle_tranche_effectif: string; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L24
Type '{ siret: string; cached_tranche_effectifs: null; cached_tranche_effectifs_unite_legale: null; cached_libelle_tranche_effectif: null; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L37
Argument of type '{}' is not assignable to parameter of type 'Organization'.
test: test/organization.test.ts#L52
Type '{ siret: string; cached_tranche_effectifs: "12"; cached_tranche_effectifs_unite_legale: string; cached_libelle_tranche_effectif: string; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L64
Type '{ siret: string; cached_tranche_effectifs: "22"; cached_tranche_effectifs_unite_legale: string; cached_libelle_tranche_effectif: string; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L76
Type '{ siret: string; cached_tranche_effectifs: null; cached_tranche_effectifs_unite_legale: string; cached_libelle_tranche_effectif: null; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L89
Type '{ siret: string; cached_tranche_effectifs: "42"; cached_tranche_effectifs_unite_legale: string; cached_libelle_tranche_effectif: string; cached_activite_principale: string; cached_libelle_activite_principale: string; cached_categorie_juridique: string; cached_libelle_categorie_juridique: string; }' is missing the following properties from type 'Organization': id, created_at, updated_at, cached_libelle, and 10 more.
test: test/organization.test.ts#L102
Argument of type '{}' is not assignable to parameter of type 'Organization'.