MichaReiser/speedy.js

View on GitHub
packages/compiler/src/code-generation/per-file/webassembly.d.ts

Summary

Maintainability
A
0 mins
Test Coverage

Interface has only a call signature — use type WebAssemblyMemoryConstructor = new (memoryDescriptor: { initial: number, maximum?: number }) => WebAssemblyMemory; instead.
Open

    new (memoryDescriptor: { initial: number, maximum?: number }): WebAssemblyMemory;

Rule: callable-types

An interface or literal type with just a call signature can be written as a function type.

Rationale

style

Notes
  • TypeScript Only
  • Has Fix

Config

Not configurable.

For more information see this page.

There are no issues that match your filters.

Category
Status