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

svelte2tsx

Package Overview
Dependencies
Maintainers
3
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.1.151 to 0.1.152

2

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

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

@@ -328,2 +328,3 @@ /// <reference lib="dom" />

optimum?: number;
part?: string;
pattern?: string;

@@ -330,0 +331,0 @@ placeholder?: string;

@@ -94,2 +94,3 @@ declare module '*.svelte' {

type SvelteAllProps = { [index: string]: any }
type SveltePropsAnyFallback<Props> = {[K in keyof Props]: Props[K] extends undefined ? any : Props[K]}
type SvelteRestProps = { [index: string]: any }

@@ -118,5 +119,11 @@ type SvelteSlots = { [index: string]: any }

render: () => {props?: Props, events?: Events, slots?: Slots }
): () => {props?: Partial<Props>, events?: Events, slots?: Slots }
): () => {props?: Partial<SveltePropsAnyFallback<Props>>, events?: Events, slots?: Slots }
declare function __sveltets_partial_with_any<Props = {}, Events = {}, Slots = {}>(
render: () => {props?: Props, events?: Events, slots?: Slots }
): () => {props?: Partial<SveltePropsAnyFallback<Props>> & SvelteAllProps, events?: Events, slots?: Slots }
declare function __sveltets_partial_ts<Props = {}, Events = {}, Slots = {}>(
render: () => {props?: Props, events?: Events, slots?: Slots }
): () => {props?: Partial<Props>, events?: Events, slots?: Slots }
declare function __sveltets_partial_ts_with_any<Props = {}, Events = {}, Slots = {}>(
render: () => {props?: Props, events?: Events, slots?: Slots }
): () => {props?: Partial<Props> & SvelteAllProps, events?: Events, slots?: Slots }

@@ -123,0 +130,0 @@ declare function __sveltets_with_any<Props = {}, Events = {}, Slots = {}>(

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

Sorry, the diff of this file is not supported yet

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