diff --git a/pkg/shell/machines/machines.d.ts b/pkg/shell/machines/machines.d.ts index 69967ec4b15b..6a8b7bac0a36 100644 --- a/pkg/shell/machines/machines.d.ts +++ b/pkg/shell/machines/machines.d.ts @@ -4,6 +4,8 @@ import { Manifests } from "../manifests"; export function generate_connection_string(user: string | null, port: string | null, addr: string) : string; export function split_connection_string (conn_to: string) : { address: string, user?: string, port?: number }; +export function get_init_superuser_for_options (options: {[key: string]: string }) : string | null; +export function host_superuser_storage_key (host: string): string; export interface Machine { key: string; diff --git a/test/common/typecheck b/test/common/typecheck index a8680c37034b..1126a1e76b6f 100755 --- a/test/common/typecheck +++ b/test/common/typecheck @@ -96,7 +96,6 @@ javascript_ignored_codes = [ "TS2741", # Property 'X' is missing in type "TS2551", # Property 'X' does not exist on type "TS2304", # Cannot find name 'X' - "TS2305", # Module '"./machines/machines"' has no exported member 'get_init_superuser_for_options'. "TS2538", # Type 'null' cannot be used as an index type. "TS2559", # Type 'never[]' has no properties in common with type 'DBusCallOptions'. "TS2769", # No overload matches this call.