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

@es-git/load-as-mixin

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@es-git/load-as-mixin - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

es/index.d.ts

@@ -6,2 +6,2 @@ import { Constructor, Hash, Type } from '@es-git/core';

}
export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo: T): Constructor<IObjectRepo> & Constructor<ILoadAsRepo>;
export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo: T): T & Constructor<ILoadAsRepo>;
{
"name": "@es-git/load-as-mixin",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

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

@@ -9,3 +9,3 @@ import { Constructor, Hash, Type } from '@es-git/core';

export default function loadAsMixin<T extends Constructor<IObjectRepo>>(repo : T)
: Constructor<IObjectRepo> & Constructor<ILoadAsRepo> {
: T & Constructor<ILoadAsRepo> {
return class LoadAsRepo extends repo implements ILoadAsRepo {

@@ -12,0 +12,0 @@

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