New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

derw

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derw - npm Package Compare versions

Comparing version 0.0.9-22 to 0.0.9-24

7

build/type_checking.d.ts
import { Result } from "@eeue56/ts-core/build/main/lib/result";
import { Block, CaseStatement, Expression, Function, Import, ObjectLiteralType, Type, TypedBlock } from "./types";
declare type ScopedValues = Record<string, Type>;
export declare function isSameType(first: Type, second: Type, topLevel: boolean): boolean;
export declare function inferType(expression: Expression, expectedType: Type, typedBlocks: TypedBlock[], imports: Import[]): Result<string, Type>;
export declare function inferType(expression: Expression, expectedType: Type, typedBlocks: TypedBlock[], imports: Import[], valuesInScope: ScopedValues): Result<string, Type>;
export declare function getCasesFromFunction(block: Function): CaseStatement[];

@@ -9,2 +10,4 @@ export declare function validateAllCasesCovered(block: Block, typedBlocks: TypedBlock[]): string[];

export declare function findReplacement(inferredType: Type, expectedType: Type, typedBlocks: TypedBlock[]): Type;
export declare function validateType(block: Block, typedBlocks: TypedBlock[], imports: Import[]): Result<string, Type>;
export declare function getValuesInTopLevelScope(blocks: Block[]): ScopedValues;
export declare function validateType(block: Block, typedBlocks: TypedBlock[], imports: Import[], valuesInScope?: ScopedValues): Result<string, Type>;
export {};
{
"name": "derw",
"version": "0.0.9-22",
"version": "0.0.9-24",
"description": "An Elm-inspired language that transpiles to TypeScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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

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

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