freeze tagged template literal object - fixes #328
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
(function (strings, raw) {
|
||||
return Object.defineProperties(strings, { raw: { value: raw } });
|
||||
return Object.freeze(Object.defineProperties(strings, { raw: { value: raw } }));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user