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

typescript-parser

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-parser - npm Package Compare versions

Comparing version 0.0.0-development to 0.0.0

clonable/Clonable.d.ts

5

package.json
{
"name": "typescript-parser",
"version": "0.0.0-development",
"version": "0.0.0",
"description": "Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.",

@@ -46,5 +46,6 @@ "main": "index.js",

"dependencies": {
"coveralls": "^2.13.1",
"tslib": "^1.7.1",
"typescript": "^2.4.1"
}
}
}

6

src/clonable/Clonable.ts

@@ -5,9 +5,9 @@ /**

* @export
* @template T
* @interface Clonable
*/
export interface Clonable {
export interface Clonable<T> {
/**
* Create a deep clone of this object.
*
* @template T
* @returns {T}

@@ -17,3 +17,3 @@ *

*/
clone<T>(): T;
clone(): T;
}

@@ -11,3 +11,3 @@ import { Clonable } from '../clonable/Clonable';

*/
export interface Import extends Clonable, Node {
export interface Import extends Clonable<Import>, Node {
/**

@@ -14,0 +14,0 @@ * Indicates if the given import is "new" or a parsed one.

@@ -11,3 +11,3 @@ import { Clonable } from './clonable/Clonable';

*/
export class SymbolSpecifier implements Clonable {
export class SymbolSpecifier implements Clonable<SymbolSpecifier> {
constructor(public specifier: string, public alias?: string) { }

@@ -14,0 +14,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