Skip to content

Commit

Permalink
implemented get
Browse files Browse the repository at this point in the history
  • Loading branch information
Oudwins committed Dec 10, 2023
1 parent 38173e4 commit 935fbf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/createDynamicStylesheet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down

0 comments on commit 935fbf1

Please sign in to comment.