From 270f66f697290f7510db641a42d4906c208c19f0 Mon Sep 17 00:00:00 2001 From: Mathieu Leplatre Date: Mon, 22 Jun 2026 13:05:49 +0200 Subject: [PATCH] Add type hints to produced package --- canonicaljson.pyi | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 canonicaljson.pyi diff --git a/canonicaljson.pyi b/canonicaljson.pyi new file mode 100644 index 0000000..8a3d1f0 --- /dev/null +++ b/canonicaljson.pyi @@ -0,0 +1,8 @@ +from typing import Any, TextIO + + +__version__: str + + +def dump(obj: Any, fp: TextIO) -> None: ... +def dumps(obj: Any) -> str: ...