Socket
Socket
Sign inDemoInstall

lisan-types

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lisan-types - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36

17

dictionary.d.ts

@@ -10,13 +10,21 @@ // Dictionary

type TMethod = (entryKey: string, placeholders: Placeholders) => string;
type TMethod = (entryKey: string, placeholders?: Placeholders) => string;
type CMethod = (
entryKey: string,
value: string | number,
placeholders: Placeholders,
// eslint-disable-next-line @typescript-eslint/no-explicit-any
value: any,
placeholders?: Placeholders,
) => string;
interface TranslateFunctions {
t: TMethod;
c: CMethod;
}
type DictionaryEntryHelpers = FormatFunctions & TranslateFunctions;
type DictionaryEntryFunction = (
placeholders: Placeholders,
fns?: { t: TMethod; c: CMethod } | Record<string, FormatFunction>,
fns: DictionaryEntryHelpers,
) => string;

@@ -45,2 +53,3 @@

FormatFunctions,
DictionaryEntryHelpers,
};
{
"name": "lisan-types",
"version": "0.0.35",
"version": "0.0.36",
"description": "Lisan Typescript Type Declarations",

@@ -27,3 +27,3 @@ "keywords": [

},
"gitHead": "febf84caed8c70fa8884660b5215259c1ebe327d"
"gitHead": "4872282c21852106abd1979ee6dc6586f1923bda"
}
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