Guest User

Untitled

a guest
Oct 17th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. MiFuncion(miParametro: string): Promise<void>{
  2. // mi codigo ...
  3. console.log(miParametro)
  4. return new Promise (function( resolve, reject){
  5. resolve()
  6. })
  7. }
  8. this.MiFuncion('Probando').then(()=>console.log('esto funciono corretamente')).catch((err)=>console.log(err))
Add Comment
Please, Sign In to add comment