@tscircuit/core 0.0.496 → 0.0.497
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.
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14779,7 +14779,8 @@ type ChipFn<T extends ChipProps<any>> = (props: T) => any;
|
|
|
14779
14779
|
type ChipFnSel = <T extends ChipFn<any> | string>(chipFn?: T) => UnionToIntersection<T extends ChipFn<any> ? ChipConnections<T> : T extends string ? {
|
|
14780
14780
|
[K in T]: string;
|
|
14781
14781
|
} : never>;
|
|
14782
|
-
type
|
|
14782
|
+
type SelFn = <P extends string>(refdes: string) => Record<P, string>;
|
|
14783
|
+
type Sel = SelFn & ExplicitModuleSel & SelWithoutSubcircuit;
|
|
14783
14784
|
declare const sel: Sel;
|
|
14784
14785
|
|
|
14785
14786
|
interface LocalCacheEngine {
|
package/dist/index.js
CHANGED
|
@@ -10334,7 +10334,7 @@ import { identity as identity4 } from "transformation-matrix";
|
|
|
10334
10334
|
var package_default = {
|
|
10335
10335
|
name: "@tscircuit/core",
|
|
10336
10336
|
type: "module",
|
|
10337
|
-
version: "0.0.
|
|
10337
|
+
version: "0.0.496",
|
|
10338
10338
|
types: "dist/index.d.ts",
|
|
10339
10339
|
main: "dist/index.js",
|
|
10340
10340
|
module: "dist/index.js",
|
|
@@ -10717,7 +10717,12 @@ var useResistor = createUseComponent(
|
|
|
10717
10717
|
|
|
10718
10718
|
// lib/sel/sel.ts
|
|
10719
10719
|
var sel = new Proxy(
|
|
10720
|
-
|
|
10720
|
+
(refdes) => new Proxy(
|
|
10721
|
+
{},
|
|
10722
|
+
{
|
|
10723
|
+
get: (_, pin) => `.${refdes} > .${pin}`
|
|
10724
|
+
}
|
|
10725
|
+
),
|
|
10721
10726
|
{
|
|
10722
10727
|
get: (_, prop1) => {
|
|
10723
10728
|
const fn = (...args) => {
|