@@ -24,7 +24,7 @@ Für eine vollständige Liste der Konfigurationsoptionen besuchen Sie die Konfig
24
24
25
25
Erstellen und verwalten Sie Ihre Wörterbücher:
26
26
27
- ``` tsx fileName="src/example.content.ts " contentDeclarationFormat="typescript"
27
+ ``` tsx fileName="src/example.content.tsx " contentDeclarationFormat="typescript"
28
28
import { t , enu , cond , nest , md , type Dictionary } from " intlayer" ;
29
29
30
30
interface Content {
@@ -92,7 +92,7 @@ export default {
92
92
} satisfies Dictionary <Content >; // [optional] Dictionary ist generisch und ermöglicht es Ihnen, die Formatierung Ihres Wörterbuchs zu stärken
93
93
```
94
94
95
- ``` javascript fileName="src/example.content.mjs " contentDeclarationFormat="esm"
95
+ ``` javascript fileName="src/example.content.mjx " contentDeclarationFormat="esm"
96
96
import { t , enu , cond , nest , md } from " intlayer" ;
97
97
98
98
/** @type {import('intlayer').Dictionary} */
@@ -140,7 +140,7 @@ export default {
140
140
};
141
141
```
142
142
143
- ``` javascript fileName="src/example.content.cjs " contentDeclarationFormat="commonjs"
143
+ ``` javascript fileName="src/example.content.cjx " contentDeclarationFormat="commonjs"
144
144
const { t , enu , cond , nest , md } = require (" intlayer" );
145
145
146
146
/** @type {import('intlayer').Dictionary} */
@@ -254,7 +254,7 @@ Sie können problemlos Funktionen in andere Funktionen verschachteln.
254
254
255
255
Beispiel:
256
256
257
- ``` javascript fileName="src/example.content.ts " contentDeclarationFormat="typescript"
257
+ ``` javascript fileName="src/example.content.tsx " contentDeclarationFormat="typescript"
258
258
import { t , enu , cond , nest , md , type Dictionary } from " intlayer" ;
259
259
260
260
const getName = async () => " John Doe" ;
@@ -302,7 +302,7 @@ export default {
302
302
} satisfies Dictionary;
303
303
```
304
304
305
- ``` javascript fileName="src/example.content.mjs " contentDeclarationFormat="esm"
305
+ ``` javascript fileName="src/example.content.mjx " contentDeclarationFormat="esm"
306
306
import { t , enu , cond , nest , md } from " intlayer" ;
307
307
308
308
const getName = async () => " John Doe" ;
@@ -351,7 +351,7 @@ export default {
351
351
};
352
352
```
353
353
354
- ``` javascript fileName="src/example.content.cjs " contentDeclarationFormat="commonjs"
354
+ ``` javascript fileName="src/example.content.cjx " contentDeclarationFormat="commonjs"
355
355
const { t , enu , cond , nest , md } = require (" intlayer" );
356
356
357
357
const getName = async () => " John Doe" ;
0 commit comments