Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

svelte2tsx

Package Overview
Dependencies
Maintainers
4
Versions
296
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte2tsx - npm Package Compare versions

Comparing version 0.6.1 to 0.6.2

2

package.json
{
"name": "svelte2tsx",
"version": "0.6.1",
"version": "0.6.2",
"description": "Convert Svelte components to TSX for type checking",

@@ -5,0 +5,0 @@ "author": "David Pershouse",

@@ -141,16 +141,3 @@ // Whenever a ambient declaration changes, its number should be increased

declare var process: NodeJS.Process & { browser: boolean }
// declare var __sveltets_1_AnimationMove: { from: DOMRect, to: DOMRect }
// declare function __sveltets_1_ensureAnimation(animationCall: SvelteAnimationReturnType): {};
// declare function __sveltets_1_ensureAction(actionCall: SvelteActionReturnType): {};
// declare function __sveltets_1_ensureTransition(transitionCall: SvelteTransitionReturnType): {};
// declare function __sveltets_1_ensureFunction(expression: (e: Event & { detail?: any }) => unknown ): {};
// // Includes undefined and null for all types as all usages also allow these
// declare function __sveltets_1_ensureType<T>(type: AConstructorTypeOf<T>, el: T | undefined | null): {};
// declare function __sveltets_1_ensureType<T1, T2>(type1: AConstructorTypeOf<T1>, type2: AConstructorTypeOf<T2>, el: T1 | T2 | undefined | null): {};
// declare function __sveltets_1_createEnsureSlot<Slots = Record<string, Record<string, any>>>(): <K1 extends keyof Slots, K2 extends keyof Slots[K1]>(k1: K1, k2: K2, val: Slots[K1][K2]) => Slots[K1][K2];
declare function __sveltets_2_ensureRightProps<Props>(props: Props): {};
// declare function __sveltets_1_cssProp(prop: Record<string, any>): {};
// declare function __sveltets_1_ctorOf<T>(type: T): AConstructorTypeOf<T>;
declare function __sveltets_2_instanceOf<T = any>(type: AConstructorTypeOf<T>): T;

@@ -206,11 +193,2 @@ declare function __sveltets_2_allPropsType(): SvelteAllProps

): HTMLElementEventMap[K];
// declare function __sveltets_1_mapElementTag<K extends keyof ElementTagNameMap>(
// tag: K
// ): ElementTagNameMap[K];
// declare function __sveltets_1_mapElementTag<K extends keyof SVGElementTagNameMap>(
// tag: K
// ): SVGElementTagNameMap[K];
// declare function __sveltets_1_mapElementTag(
// tag: any
// ): any; // needs to be any because used in context of <svelte:element>

@@ -232,13 +210,2 @@ declare function __sveltets_2_bubbleEventDef<Events, K extends keyof Events>(

// declare function __sveltets_1_awaitThen<T>(
// promise: T,
// onfulfilled: (value: T extends PromiseLike<infer U> ? U : T) => any,
// onrejected?: (value: T extends PromiseLike<any> ? any : never) => any
// ): any;
// declare function __sveltets_1_each<T extends ArrayLike<unknown>>(
// array: T,
// callbackfn: (value: T extends ArrayLike<infer U> ? U : any, index: number) => any
// ): any;
declare function __sveltets_2_createSvelte2TsxComponent<Props, Events, Slots>(

@@ -245,0 +212,0 @@ render: {props: Props, events: Events, slots: Slots }

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc