pw-extras.json 907 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "!name": "pw-extra",
  3. "console": {
  4. "assert": {
  5. "!type": "fn(assertion: bool, text: string)"
  6. },
  7. "clear": {
  8. "!type": "fn()"
  9. },
  10. "count": {
  11. "!type": "fn(label?: string)"
  12. },
  13. "debug": "console.log",
  14. "dir": {
  15. "!type": "fn(object: ?)"
  16. },
  17. "error": {
  18. "!type": "fn(...msg: ?)"
  19. },
  20. "group": {
  21. "!type": "fn(label?: string)"
  22. },
  23. "groupCollapsed": {
  24. "!type": "fn(label?: string)"
  25. },
  26. "groupEnd": {
  27. "!type": "fn()"
  28. },
  29. "info": {
  30. "!type": "fn(...msg: ?)"
  31. },
  32. "log": {
  33. "!type": "fn(...msg: ?)"
  34. },
  35. "table": {
  36. "!type": "fn(data: []|?, columns?: [])"
  37. },
  38. "time": {
  39. "!type": "fn(label: string)"
  40. },
  41. "timeEnd": {
  42. "!type": "fn(label: string)"
  43. },
  44. "trace": {
  45. "!type": "fn()"
  46. },
  47. "warn": {
  48. "!type": "fn(...msg: ?)"
  49. }
  50. }
  51. }