@firsthandjs/compiler 0.9.1 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,13 @@
1
+ /**
2
+ * One attribute, for the browser: inlined into the template when it can be,
3
+ * and emitted as a write when it cannot.
4
+ *
5
+ * Five kinds, and `emitAttribute` does nothing but pick between them. The
6
+ * server's twin of this decision is in `markup.ts`, kind for kind. They are two
7
+ * files that have to agree, and `packages/server/test/parity.test.tsx` is what
8
+ * holds them to it.
9
+ */
10
+ import * as t from '@babel/types';
11
+ import { type Host } from './state.js';
12
+ export declare function emitAttribute(attribute: t.JSXAttribute | t.JSXSpreadAttribute, host: Host): void;
13
+ //# sourceMappingURL=attributes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attributes.d.ts","sourceRoot":"","sources":["../src/attributes.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,CAAC,MAAM,cAAc,CAAC;AA0BlC,OAAO,EAA+B,KAAK,IAAI,EAAE,MAAM,YAAY,CAAC;AAEpE,wBAAgB,aAAa,CAAC,SAAS,EAAE,CAAC,CAAC,YAAY,GAAG,CAAC,CAAC,kBAAkB,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,CAwChG"}