From ee855a74a90b387ab3ceac14c19ef4ac4e548b0a Mon Sep 17 00:00:00 2001 From: Trinh Anh Ngoc Date: Sun, 16 Oct 2022 23:22:55 +0700 Subject: [PATCH] Update stubs --- odoo-stubs/tools/js_transpiler.pyi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/odoo-stubs/tools/js_transpiler.pyi b/odoo-stubs/tools/js_transpiler.pyi index 94b6147..2584878 100644 --- a/odoo-stubs/tools/js_transpiler.pyi +++ b/odoo-stubs/tools/js_transpiler.pyi @@ -59,6 +59,11 @@ IMPORT_DEFAULT: Pattern def convert_default_import(content: str) -> str: ... +IS_PATH_LEGACY_RE: Pattern +IMPORT_DEFAULT_AND_NAMED_RE: Pattern + +def convert_default_and_named_import(content: str) -> str: ... + RELATIVE_REQUIRE_RE: Pattern def convert_relative_require(url: str, content: str) -> str: ... @@ -67,6 +72,10 @@ IMPORT_STAR: Pattern def convert_star_import(content: str) -> str: ... +IMPORT_DEFAULT_AND_STAR: Pattern + +def convert_default_and_star_import(content: str) -> str: ... + IMPORT_UNNAMED_RELATIVE_RE: Pattern def convert_unnamed_relative_import(content: str) -> str: ...