typings: add diagnostics_channel typings