Skip to content

Commit fcf353b

Browse files
committed
New translations assemblyscript-migration-guide.mdx (Hindi)
1 parent 3399313 commit fcf353b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

website/src/pages/hi/resources/release-notes/assemblyscript-migration-guide.mdx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ title: असेंबलीस्क्रिप्ट माइग्रेश
1414

1515
### नई कार्यक्षमता
1616

17-
- `TypedArray` को अब `ArrayBuffer` से बनाया जा सकता है[ नए `wrap` static method ](https://www.assemblyscript.org/stdlib/typedarray.html#static-members)का उपयोग करके ([v0.8.1] (https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.8.1))।
17+
- `TypedArray` को अब `ArrayBuffer` से बनाया जा सकता है[ नए `wrap` static method ](https://www.assemblyscript.org/stdlib/typedarray.html#static-members)का उपयोग करके ([v0.8.1]
18+
(https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.8.1))।
1819
- नई मानक लाइब्रेरी फ़ंक्शन: `String#toUpperCase`, `String#toLowerCase`, `String#localeCompare` और `TypedArray#set` ([v0.9.0](https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.9.0))
1920
- GenericClass के लिए x instanceof समर्थन जोड़ा गया ([v0.9.2](https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.9.2))
2021
- `StaticArray<T>` जो एक अधिक कुशल array प्रकार है, जोड़ा गया ([v0.9.3](https://github.com/AssemblyScript/assemblyscript/releases/tag/v0.9.3))
@@ -221,8 +222,8 @@ changetype<Bytes>(uint8Array) // काम करता है :)
221222
class Bytes extends Uint8Array {}
222223
class ByteArray extends Uint8Array {}
223224
224-
let bytes = new Bytes(2)
225-
changetype<ByteArray>(bytes) // काम करता है :)
225+
let bytes = new Bytes(2);
226+
changetype<ByteArray>(bytes); // काम करता है :)
226227
```
227228

228229
यदि आप केवल nullability को हटाना चाहते हैं, तो आप `as` ऑपरेटर (या `<T>variable`) का उपयोग जारी रख सकते हैं, लेकिन यह सुनिश्चित करें कि आपको पता है कि वह मान null नहीं हो सकता है, अन्यथा यह टूट जाएगा।

0 commit comments

Comments
 (0)