mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
Make xrm tests pass strictNullChecks again
The recent change to SuccessCallbackDelegate was made with strictNullChecks off in master.
This commit is contained in:
parent
daf9bd392f
commit
53038c8080
@ -72,7 +72,7 @@ if (Xrm.Page.data.process != null)
|
||||
|
||||
/// Demonstrate v7.1 Quick Create form
|
||||
|
||||
Xrm.Utility.openQuickCreate("account").then(( object ) => { alert( `Newly created record Id: ${object.savedEntityReference.id}` ); }, (error) => {console.log(`Code: ${error.errorCode}, Message: ${error.message}`)});
|
||||
Xrm.Utility.openQuickCreate("account").then(( object ) => { if (object) alert( `Newly created record Id: ${object.savedEntityReference.id}` ); }, (error) => {console.log(`Code: ${error.errorCode}, Message: ${error.message}`)});
|
||||
|
||||
/// Make all controls visible.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user