From 935fbf15a75f31d7dafe6b0eb7bab8ad7767922e Mon Sep 17 00:00:00 2001 From: = Date: Sun, 10 Dec 2023 17:51:31 +0100 Subject: [PATCH] implemented get --- src/createDynamicStylesheet.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/createDynamicStylesheet.ts b/src/createDynamicStylesheet.ts index 67d7387..b17357d 100644 --- a/src/createDynamicStylesheet.ts +++ b/src/createDynamicStylesheet.ts @@ -36,6 +36,10 @@ export function createDynamicStyleSheetHandlerFactory( qpath = []; ss.processDiffs(diffs); }, + get() { + const n = astInterface.getNode(qpath, ast); + return postcss.objectify(n); + }, _ast: ast, _ssInterface: ss, };