Thursday, 23 September 2021

type script

In typescript we inherited form one class object we cant assign value directly we need to pass entire object list 
for example i have a class with four data properties

 this.csrazureprop={
      crv:"P-256",
      keyType:v.name,
      keysize:256,

    }
if i assign a value get an error like below
this.csrazureprop.crv="p-256".it doesn't work throw an error.
for class object we should write in an object format only

validatiaon angular click

codeing importent click

codeing importent click here
check angular here

var str="hello world" undefined str.includes("world") true var str="www.piltd.com" undefined str.includes("piltd.com") true

No comments:

Post a Comment

7 Common mistakes in Dot Net — You can avoid

  There are many common mistakes made during .NET (ASP.NET, .NET Core) development, which affect performance, security, and code… Code Crack...