SP.Publishing.PublishingPageInformation.typeId property (sp.publishing)
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.Publishing.PublishingPageInformation.get_typeId()
Return value
STRING