chore: output the reflected types enclosed in quotes for clarity
This commit is contained in:
parent
1ca0ac42d0
commit
2f7677c371
1 changed files with 3 additions and 3 deletions
|
@ -35,17 +35,17 @@ console.log('Result of sqrt(-4)=', sqrt(-4))
|
|||
|
||||
console.log()
|
||||
console.log('1) NUMBER SQRT')
|
||||
console.log('1.1) REFLECTED TYPE:', Specifications.numbers.sqrt.reflectedType)
|
||||
console.log(`1.1) REFLECTED TYPE: "${Specifications.numbers.sqrt.reflectedType}"`)
|
||||
console.log('1.2) PARSED TYPE:', inspect(parseReflectedType('sqrt', Specifications.numbers.sqrt.reflectedType), { depth: null, colors: true }))
|
||||
|
||||
console.log()
|
||||
console.log('2) GENERIC SQUARE')
|
||||
console.log('2.1) REFLECTED TYPE:', Specifications.generic.square.reflectedType)
|
||||
console.log(`1.1) REFLECTED TYPE: "${Specifications.generic.square.reflectedType}"`)
|
||||
console.log('2.2) PARSED TYPE:', inspect(parseReflectedType('square', Specifications.generic.square.reflectedType), { depth: null, colors: true }))
|
||||
|
||||
console.log()
|
||||
console.log('3) COMPLEX SQRT')
|
||||
console.log('3.1) REFLECTED TYPE:', Specifications.complex.sqrt.reflectedType)
|
||||
console.log(`1.1) REFLECTED TYPE: "${Specifications.complex.sqrt.reflectedType}"`)
|
||||
console.log('3.2) PARSED TYPE:', inspect(parseReflectedType('sqrt', Specifications.complex.sqrt.reflectedType), { depth: null, colors: true }))
|
||||
|
||||
// FIXME: cleanup
|
||||
|
|
Loading…
Add table
Reference in a new issue