@intl-schematic/plugin-functions
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/plugins/functions/src/index.ts":{"bytes":676,"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/plugins/functions/dist/index.cjs":{"imports":[{"path":"intl-schematic/plugins","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/plugins/functions/src/index.ts","inputs":{"packages/plugins/functions/src/index.ts":{"bytesInOutput":395}},"bytes":1238}}} | ||
{"inputs":{"packages/plugins/functions/src/index.ts":{"bytes":682,"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/plugins/functions/dist/index.cjs":{"imports":[{"path":"intl-schematic/plugins","kind":"require-call","external":true}],"exports":[],"entryPoint":"packages/plugins/functions/src/index.ts","inputs":{"packages/plugins/functions/src/index.ts":{"bytesInOutput":395}},"bytes":1238}}} |
@@ -1,1 +0,1 @@ | ||
{"inputs":{"packages/plugins/functions/src/index.ts":{"bytes":676,"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/plugins/functions/dist/index.js":{"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"exports":["FunctionsPlugin"],"entryPoint":"packages/plugins/functions/src/index.ts","inputs":{"packages/plugins/functions/src/index.ts":{"bytesInOutput":239}},"bytes":312}}} | ||
{"inputs":{"packages/plugins/functions/src/index.ts":{"bytes":682,"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"format":"esm"}},"outputs":{"packages/plugins/functions/dist/index.js":{"imports":[{"path":"intl-schematic/plugins","kind":"import-statement","external":true}],"exports":["FunctionsPlugin"],"entryPoint":"packages/plugins/functions/src/index.ts","inputs":{"packages/plugins/functions/src/index.ts":{"bytesInOutput":239}},"bytes":312}}} |
{ | ||
"name": "@intl-schematic/plugin-functions", | ||
"version": "1.0.0-rc.1", | ||
"version": "1.0.0-rc.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -25,3 +25,3 @@ # `@intl-schematic/plugin-functions`<!-- omit from toc --> | ||
### Use a translator function | ||
### Use the translator function | ||
@@ -28,0 +28,0 @@ ```ts |
import { createPlugin } from 'intl-schematic/plugins'; | ||
declare module 'intl-schematic/plugins' { | ||
export interface PluginRegistry<Locale, Key> { | ||
export interface PluginRegistry<LocaleDoc, Key> { | ||
Functions: { | ||
args: Locale[Key] extends (...args: infer Args) => string ? Args : []; | ||
args: LocaleDoc[Key] extends (...args: infer Args) => string ? Args : []; | ||
}; | ||
@@ -8,0 +8,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6410